Re: fix libz regress on gcc archs

2022-10-31 Thread Klemens Nanni
On Mon, Oct 31, 2022 at 07:45:29AM +, Miod Vallat wrote: > > +.if (${COMPILER_VERSION:L} != "clang" && ! exists(/usr/local/bin/eg++)) > > +regress: > > + @echo 'Run "pkg_add g++" to run unittests on GCC architectures' > > + @echo SKIPPED > > Or the C++ test could be downgraded to C++98 so

Re: fix libz regress on gcc archs

2022-10-31 Thread Miod Vallat
> +.if (${COMPILER_VERSION:L} != "clang" && ! exists(/usr/local/bin/eg++)) > +regress: > + @echo 'Run "pkg_add g++" to run unittests on GCC architectures' > + @echo SKIPPED Or the C++ test could be downgraded to C++98 so that it may be used on all supported platforms: Index: utils_unittes

fix libz regress on gcc archs

2022-10-30 Thread Klemens Nanni
Makefile bits adapted from regress/lib/libssl/interop/botan/Makefile. required for stderr required for exit(3) required for memcmp(3) g++-8.4.0p12 on sparc64 prints coloured warnings/errors, but that is enother issue. On sparc64, `make CXX=clang++' without patch works as well. A follow-up c