[Pkg-phototools-devel] Bug#998498: pfstools: FTBFS: stl_algobase.h:278:56: error: macro "min" passed 3 arguments, but takes just 2

Lucas Nussbaum lucas at debian.org
Thu Nov 4 17:39:43 GMT 2021


Source: pfstools
Version: 2.2.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20211104 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fileformat && /usr/bin/c++ -D_CRT_SECURE_NO_WARNINGS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/src/pfs -I/usr/include/OpenEXR -I/usr/include/ImageMagick-6 -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MT src/fileformat/CMakeFiles/pfsinppm.dir/ppmio.cpp.o -MF CMakeFiles/pfsinppm.dir/ppmio.cpp.o.d -o CMakeFiles/pfsinppm.dir/ppmio.cpp.o -c /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:278:56: error: macro "min" passed 3 arguments, but takes just 2
>   278 |     min(const _Tp& __a, const _Tp& __b, _Compare __comp)
>       |                                                        ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:300:56: error: macro "max" passed 3 arguments, but takes just 2
>   300 |     max(const _Tp& __a, const _Tp& __b, _Compare __comp)
>       |                                                        ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:317:11: error: macro "min" requires 2 arguments, but only 1 given
>   317 |       min() _GLIBCXX_USE_NOEXCEPT { return _Tp(); }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:321:11: error: macro "max" requires 2 arguments, but only 1 given
>   321 |       max() _GLIBCXX_USE_NOEXCEPT { return _Tp(); }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:389:11: error: macro "min" requires 2 arguments, but only 1 given
>   389 |       min() _GLIBCXX_USE_NOEXCEPT { return false; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:392:11: error: macro "max" requires 2 arguments, but only 1 given
>   392 |       max() _GLIBCXX_USE_NOEXCEPT { return true; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:396:38: error: macro "min" requires 2 arguments, but only 1 given
>   396 |       lowest() noexcept { return min(); }
>       |                                      ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:458:11: error: macro "min" requires 2 arguments, but only 1 given
>   458 |       min() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_min(char); }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:461:11: error: macro "max" requires 2 arguments, but only 1 given
>   461 |       max() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_max(char); }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:465:38: error: macro "min" requires 2 arguments, but only 1 given
>   465 |       lowest() noexcept { return min(); }
>       |                                      ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:525:11: error: macro "min" requires 2 arguments, but only 1 given
>   525 |       min() _GLIBCXX_USE_NOEXCEPT { return -__SCHAR_MAX__ - 1; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:528:11: error: macro "max" requires 2 arguments, but only 1 given
>   528 |       max() _GLIBCXX_USE_NOEXCEPT { return __SCHAR_MAX__; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:532:38: error: macro "min" requires 2 arguments, but only 1 given
>   532 |       lowest() noexcept { return min(); }
>       |                                      ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:595:11: error: macro "min" requires 2 arguments, but only 1 given
>   595 |       min() _GLIBCXX_USE_NOEXCEPT { return 0; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:598:11: error: macro "max" requires 2 arguments, but only 1 given
>   598 |       max() _GLIBCXX_USE_NOEXCEPT { return __SCHAR_MAX__ * 2U + 1; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:602:38: error: macro "min" requires 2 arguments, but only 1 given
>   602 |       lowest() noexcept { return min(); }
>       |                                      ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:668:11: error: macro "min" requires 2 arguments, but only 1 given
>   668 |       min() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_min (wchar_t); }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:671:11: error: macro "max" requires 2 arguments, but only 1 given
>   671 |       max() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_max (wchar_t); }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:675:38: error: macro "min" requires 2 arguments, but only 1 given
>   675 |       lowest() noexcept { return min(); }
>       |                                      ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:802:11: error: macro "min" requires 2 arguments, but only 1 given
>   802 |       min() noexcept { return __glibcxx_min (char16_t); }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:805:11: error: macro "max" requires 2 arguments, but only 1 given
>   805 |       max() noexcept { return __glibcxx_max (char16_t); }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:808:38: error: macro "min" requires 2 arguments, but only 1 given
>   808 |       lowest() noexcept { return min(); }
>       |                                      ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:863:11: error: macro "min" requires 2 arguments, but only 1 given
>   863 |       min() noexcept { return __glibcxx_min (char32_t); }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:866:11: error: macro "max" requires 2 arguments, but only 1 given
>   866 |       max() noexcept { return __glibcxx_max (char32_t); }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:869:38: error: macro "min" requires 2 arguments, but only 1 given
>   869 |       lowest() noexcept { return min(); }
>       |                                      ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:925:11: error: macro "min" requires 2 arguments, but only 1 given
>   925 |       min() _GLIBCXX_USE_NOEXCEPT { return -__SHRT_MAX__ - 1; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:928:11: error: macro "max" requires 2 arguments, but only 1 given
>   928 |       max() _GLIBCXX_USE_NOEXCEPT { return __SHRT_MAX__; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:932:38: error: macro "min" requires 2 arguments, but only 1 given
>   932 |       lowest() noexcept { return min(); }
>       |                                      ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:992:11: error: macro "min" requires 2 arguments, but only 1 given
>   992 |       min() _GLIBCXX_USE_NOEXCEPT { return 0; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:995:11: error: macro "max" requires 2 arguments, but only 1 given
>   995 |       max() _GLIBCXX_USE_NOEXCEPT { return __SHRT_MAX__ * 2U + 1; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:999:38: error: macro "min" requires 2 arguments, but only 1 given
>   999 |       lowest() noexcept { return min(); }
>       |                                      ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1065:11: error: macro "min" requires 2 arguments, but only 1 given
>  1065 |       min() _GLIBCXX_USE_NOEXCEPT { return -__INT_MAX__ - 1; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1068:11: error: macro "max" requires 2 arguments, but only 1 given
>  1068 |       max() _GLIBCXX_USE_NOEXCEPT { return __INT_MAX__; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1072:38: error: macro "min" requires 2 arguments, but only 1 given
>  1072 |       lowest() noexcept { return min(); }
>       |                                      ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1132:11: error: macro "min" requires 2 arguments, but only 1 given
>  1132 |       min() _GLIBCXX_USE_NOEXCEPT { return 0; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1135:11: error: macro "max" requires 2 arguments, but only 1 given
>  1135 |       max() _GLIBCXX_USE_NOEXCEPT { return __INT_MAX__ * 2U + 1; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1139:38: error: macro "min" requires 2 arguments, but only 1 given
>  1139 |       lowest() noexcept { return min(); }
>       |                                      ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1204:11: error: macro "min" requires 2 arguments, but only 1 given
>  1204 |       min() _GLIBCXX_USE_NOEXCEPT { return -__LONG_MAX__ - 1; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1207:11: error: macro "max" requires 2 arguments, but only 1 given
>  1207 |       max() _GLIBCXX_USE_NOEXCEPT { return __LONG_MAX__; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1211:38: error: macro "min" requires 2 arguments, but only 1 given
>  1211 |       lowest() noexcept { return min(); }
>       |                                      ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1271:11: error: macro "min" requires 2 arguments, but only 1 given
>  1271 |       min() _GLIBCXX_USE_NOEXCEPT { return 0; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1274:11: error: macro "max" requires 2 arguments, but only 1 given
>  1274 |       max() _GLIBCXX_USE_NOEXCEPT { return __LONG_MAX__ * 2UL + 1; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1278:38: error: macro "min" requires 2 arguments, but only 1 given
>  1278 |       lowest() noexcept { return min(); }
>       |                                      ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1344:11: error: macro "min" requires 2 arguments, but only 1 given
>  1344 |       min() _GLIBCXX_USE_NOEXCEPT { return -__LONG_LONG_MAX__ - 1; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1347:11: error: macro "max" requires 2 arguments, but only 1 given
>  1347 |       max() _GLIBCXX_USE_NOEXCEPT { return __LONG_LONG_MAX__; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:278:56: error: macro "min" passed 3 arguments, but takes just 2
>   278 |     min(const _Tp& __a, const _Tp& __b, _Compare __comp)
>       |                                                        ^
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1351:38: error: macro "min" requires 2 arguments, but only 1 given
>  1351 |       lowest() noexcept { return min(); }
>       |                                      ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:300:56: error: macro "max" passed 3 arguments, but takes just 2
>   300 |     max(const _Tp& __a, const _Tp& __b, _Compare __comp)
>       |                                                        ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1414:11: error: macro "min" requires 2 arguments, but only 1 given
>  1414 |       min() _GLIBCXX_USE_NOEXCEPT { return 0; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1417:11: error: macro "max" requires 2 arguments, but only 1 given
>  1417 |       max() _GLIBCXX_USE_NOEXCEPT { return __LONG_LONG_MAX__ * 2ULL + 1; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:317:11: error: macro "min" requires 2 arguments, but only 1 given
>   317 |       min() _GLIBCXX_USE_NOEXCEPT { return _Tp(); }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:321:11: error: macro "max" requires 2 arguments, but only 1 given
>   321 |       max() _GLIBCXX_USE_NOEXCEPT { return _Tp(); }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:389:11: error: macro "min" requires 2 arguments, but only 1 given
>   389 |       min() _GLIBCXX_USE_NOEXCEPT { return false; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:392:11: error: macro "max" requires 2 arguments, but only 1 given
>   392 |       max() _GLIBCXX_USE_NOEXCEPT { return true; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:396:38: error: macro "min" requires 2 arguments, but only 1 given
>   396 |       lowest() noexcept { return min(); }
>       |                                      ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:458:11: error: macro "min" requires 2 arguments, but only 1 given
>   458 |       min() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_min(char); }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:461:11: error: macro "max" requires 2 arguments, but only 1 given
>   461 |       max() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_max(char); }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:465:38: error: macro "min" requires 2 arguments, but only 1 given
>   465 |       lowest() noexcept { return min(); }
>       |                                      ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:525:11: error: macro "min" requires 2 arguments, but only 1 given
>   525 |       min() _GLIBCXX_USE_NOEXCEPT { return -__SCHAR_MAX__ - 1; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:528:11: error: macro "max" requires 2 arguments, but only 1 given
>   528 |       max() _GLIBCXX_USE_NOEXCEPT { return __SCHAR_MAX__; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:532:38: error: macro "min" requires 2 arguments, but only 1 given
>   532 |       lowest() noexcept { return min(); }
>       |                                      ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:595:11: error: macro "min" requires 2 arguments, but only 1 given
>   595 |       min() _GLIBCXX_USE_NOEXCEPT { return 0; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:598:11: error: macro "max" requires 2 arguments, but only 1 given
>   598 |       max() _GLIBCXX_USE_NOEXCEPT { return __SCHAR_MAX__ * 2U + 1; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:602:38: error: macro "min" requires 2 arguments, but only 1 given
>   602 |       lowest() noexcept { return min(); }
>       |                                      ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:668:11: error: macro "min" requires 2 arguments, but only 1 given
>   668 |       min() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_min (wchar_t); }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:671:11: error: macro "max" requires 2 arguments, but only 1 given
>   671 |       max() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_max (wchar_t); }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:675:38: error: macro "min" requires 2 arguments, but only 1 given
>   675 |       lowest() noexcept { return min(); }
>       |                                      ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:802:11: error: macro "min" requires 2 arguments, but only 1 given
>   802 |       min() noexcept { return __glibcxx_min (char16_t); }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:805:11: error: macro "max" requires 2 arguments, but only 1 given
>   805 |       max() noexcept { return __glibcxx_max (char16_t); }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:808:38: error: macro "min" requires 2 arguments, but only 1 given
>   808 |       lowest() noexcept { return min(); }
>       |                                      ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:863:11: error: macro "min" requires 2 arguments, but only 1 given
>   863 |       min() noexcept { return __glibcxx_min (char32_t); }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:866:11: error: macro "max" requires 2 arguments, but only 1 given
>   866 |       max() noexcept { return __glibcxx_max (char32_t); }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:869:38: error: macro "min" requires 2 arguments, but only 1 given
>   869 |       lowest() noexcept { return min(); }
>       |                                      ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:925:11: error: macro "min" requires 2 arguments, but only 1 given
>   925 |       min() _GLIBCXX_USE_NOEXCEPT { return -__SHRT_MAX__ - 1; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:928:11: error: macro "max" requires 2 arguments, but only 1 given
>   928 |       max() _GLIBCXX_USE_NOEXCEPT { return __SHRT_MAX__; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:932:38: error: macro "min" requires 2 arguments, but only 1 given
>   932 |       lowest() noexcept { return min(); }
>       |                                      ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:992:11: error: macro "min" requires 2 arguments, but only 1 given
>   992 |       min() _GLIBCXX_USE_NOEXCEPT { return 0; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:995:11: error: macro "max" requires 2 arguments, but only 1 given
>   995 |       max() _GLIBCXX_USE_NOEXCEPT { return __SHRT_MAX__ * 2U + 1; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:999:38: error: macro "min" requires 2 arguments, but only 1 given
>   999 |       lowest() noexcept { return min(); }
>       |                                      ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1065:11: error: macro "min" requires 2 arguments, but only 1 given
>  1065 |       min() _GLIBCXX_USE_NOEXCEPT { return -__INT_MAX__ - 1; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1068:11: error: macro "max" requires 2 arguments, but only 1 given
>  1068 |       max() _GLIBCXX_USE_NOEXCEPT { return __INT_MAX__; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1072:38: error: macro "min" requires 2 arguments, but only 1 given
>  1072 |       lowest() noexcept { return min(); }
>       |                                      ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1132:11: error: macro "min" requires 2 arguments, but only 1 given
>  1132 |       min() _GLIBCXX_USE_NOEXCEPT { return 0; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1135:11: error: macro "max" requires 2 arguments, but only 1 given
>  1135 |       max() _GLIBCXX_USE_NOEXCEPT { return __INT_MAX__ * 2U + 1; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1139:38: error: macro "min" requires 2 arguments, but only 1 given
>  1139 |       lowest() noexcept { return min(); }
>       |                                      ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1204:11: error: macro "min" requires 2 arguments, but only 1 given
>  1204 |       min() _GLIBCXX_USE_NOEXCEPT { return -__LONG_MAX__ - 1; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1207:11: error: macro "max" requires 2 arguments, but only 1 given
>  1207 |       max() _GLIBCXX_USE_NOEXCEPT { return __LONG_MAX__; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1211:38: error: macro "min" requires 2 arguments, but only 1 given
>  1211 |       lowest() noexcept { return min(); }
>       |                                      ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1271:11: error: macro "min" requires 2 arguments, but only 1 given
>  1271 |       min() _GLIBCXX_USE_NOEXCEPT { return 0; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1274:11: error: macro "max" requires 2 arguments, but only 1 given
>  1274 |       max() _GLIBCXX_USE_NOEXCEPT { return __LONG_MAX__ * 2UL + 1; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1278:38: error: macro "min" requires 2 arguments, but only 1 given
>  1278 |       lowest() noexcept { return min(); }
>       |                                      ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1344:11: error: macro "min" requires 2 arguments, but only 1 given
>  1344 |       min() _GLIBCXX_USE_NOEXCEPT { return -__LONG_LONG_MAX__ - 1; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1347:11: error: macro "max" requires 2 arguments, but only 1 given
>  1347 |       max() _GLIBCXX_USE_NOEXCEPT { return __LONG_LONG_MAX__; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1351:38: error: macro "min" requires 2 arguments, but only 1 given
>  1351 |       lowest() noexcept { return min(); }
>       |                                      ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1414:11: error: macro "min" requires 2 arguments, but only 1 given
>  1414 |       min() _GLIBCXX_USE_NOEXCEPT { return 0; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1417:11: error: macro "max" requires 2 arguments, but only 1 given
>  1417 |       max() _GLIBCXX_USE_NOEXCEPT { return __LONG_LONG_MAX__ * 2ULL + 1; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1421:38: error: macro "min" requires 2 arguments, but only 1 given
>  1421 |       lowest() noexcept { return min(); }
>       |                                      ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1637:51: error: macro "min" requires 2 arguments, but only 1 given
>  1637 |           __INT_N_U201103 (__GLIBCXX_TYPE_INT_N_0))
>       |                                                   ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1637:51: error: macro "min" requires 2 arguments, but only 1 given
>  1637 |           __INT_N_U201103 (__GLIBCXX_TYPE_INT_N_0))
>       |                                                   ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1421:38: error: macro "min" requires 2 arguments, but only 1 given
>  1421 |       lowest() noexcept { return min(); }
>       |                                      ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1637:51: error: macro "min" requires 2 arguments, but only 1 given
>  1637 |           __INT_N_U201103 (__GLIBCXX_TYPE_INT_N_0))
>       |                                                   ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1637:51: error: macro "max" requires 2 arguments, but only 1 given
>  1637 |           __INT_N_U201103 (__GLIBCXX_TYPE_INT_N_0))
>       |                                                   ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1637:51: error: macro "min" requires 2 arguments, but only 1 given
>  1637 |           __INT_N_U201103 (__GLIBCXX_TYPE_INT_N_0))
>       |                                                   ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1637:51: error: macro "min" requires 2 arguments, but only 1 given
>  1637 |           __INT_N_U201103 (__GLIBCXX_TYPE_INT_N_0))
>       |                                                   ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1637:51: error: macro "min" requires 2 arguments, but only 1 given
>  1637 |           __INT_N_U201103 (__GLIBCXX_TYPE_INT_N_0))
>       |                                                   ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1637:51: error: macro "max" requires 2 arguments, but only 1 given
>  1637 |           __INT_N_U201103 (__GLIBCXX_TYPE_INT_N_0))
>       |                                                   ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1637:51: error: macro "min" requires 2 arguments, but only 1 given
>  1637 |           __INT_N_U201103 (__GLIBCXX_TYPE_INT_N_0))
>       |                                                   ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1673:11: error: macro "min" requires 2 arguments, but only 1 given
>  1673 |       min() _GLIBCXX_USE_NOEXCEPT { return __FLT_MIN__; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1637:51: error: macro "max" requires 2 arguments, but only 1 given
>  1637 |           __INT_N_U201103 (__GLIBCXX_TYPE_INT_N_0))
>       |                                                   ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1676:11: error: macro "max" requires 2 arguments, but only 1 given
>  1676 |       max() _GLIBCXX_USE_NOEXCEPT { return __FLT_MAX__; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1637:51: error: macro "min" requires 2 arguments, but only 1 given
>  1637 |           __INT_N_U201103 (__GLIBCXX_TYPE_INT_N_0))
>       |                                                   ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1637:51: error: macro "max" requires 2 arguments, but only 1 given
>  1637 |           __INT_N_U201103 (__GLIBCXX_TYPE_INT_N_0))
>       |                                                   ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1748:11: error: macro "min" requires 2 arguments, but only 1 given
>  1748 |       min() _GLIBCXX_USE_NOEXCEPT { return __DBL_MIN__; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1673:11: error: macro "min" requires 2 arguments, but only 1 given
>  1673 |       min() _GLIBCXX_USE_NOEXCEPT { return __FLT_MIN__; }
>       |           ^
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1751:11: error: macro "max" requires 2 arguments, but only 1 given
>  1751 |       max() _GLIBCXX_USE_NOEXCEPT { return __DBL_MAX__; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1676:11: error: macro "max" requires 2 arguments, but only 1 given
>  1676 |       max() _GLIBCXX_USE_NOEXCEPT { return __FLT_MAX__; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1823:11: error: macro "min" requires 2 arguments, but only 1 given
>  1823 |       min() _GLIBCXX_USE_NOEXCEPT { return __LDBL_MIN__; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1826:11: error: macro "max" requires 2 arguments, but only 1 given
>  1826 |       max() _GLIBCXX_USE_NOEXCEPT { return __LDBL_MAX__; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1748:11: error: macro "min" requires 2 arguments, but only 1 given
>  1748 |       min() _GLIBCXX_USE_NOEXCEPT { return __DBL_MIN__; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1751:11: error: macro "max" requires 2 arguments, but only 1 given
>  1751 |       max() _GLIBCXX_USE_NOEXCEPT { return __DBL_MAX__; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:50,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/tr1/bessel_function.tcc:168:68: error: macro "min" requires 2 arguments, but only 1 given
>   168 |       const _Tp __fp_min = std::sqrt(std::numeric_limits<_Tp>::min());
>       |                                                                    ^
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1823:11: error: macro "min" requires 2 arguments, but only 1 given
>  1823 |       min() _GLIBCXX_USE_NOEXCEPT { return __LDBL_MIN__; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1826:11: error: macro "max" requires 2 arguments, but only 1 given
>  1826 |       max() _GLIBCXX_USE_NOEXCEPT { return __LDBL_MAX__; }
>       |           ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:52,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/tr1/ell_integral.tcc:80:55: error: macro "min" requires 2 arguments, but only 1 given
>    80 |       const _Tp __min = std::numeric_limits<_Tp>::min();
>       |                                                       ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:52,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/tr1/ell_integral.tcc:320:55: error: macro "max" requires 2 arguments, but only 1 given
>   320 |       const _Tp __max = std::numeric_limits<_Tp>::max();
>       |                                                       ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:50,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/tr1/bessel_function.tcc:168:68: error: macro "min" requires 2 arguments, but only 1 given
>   168 |       const _Tp __fp_min = std::sqrt(std::numeric_limits<_Tp>::min());
>       |                                                                    ^
> In file included from /usr/include/c++/11/bits/specfun.h:52,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/tr1/ell_integral.tcc:496:55: error: macro "min" requires 2 arguments, but only 1 given
>   496 |       const _Tp __min = std::numeric_limits<_Tp>::min();
>       |                                                       ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:52,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/tr1/ell_integral.tcc:565:55: error: macro "min" requires 2 arguments, but only 1 given
>   565 |       const _Tp __min = std::numeric_limits<_Tp>::min();
>       |                                                       ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:53,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/tr1/exp_integral.tcc:207:58: error: macro "min" requires 2 arguments, but only 1 given
>   207 |       const _Tp __fp_min = std::numeric_limits<_Tp>::min();
>       |                                                          ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:52,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/tr1/ell_integral.tcc:80:55: error: macro "min" requires 2 arguments, but only 1 given
>    80 |       const _Tp __min = std::numeric_limits<_Tp>::min();
>       |                                                       ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:54,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/tr1/hypergeometric.tcc:124:64: error: macro "max" requires 2 arguments, but only 1 given
>   124 |       const _Tp __big = std::pow(std::numeric_limits<_Tp>::max(), _Tp(0.16L));
>       |                                                                ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:52,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/tr1/ell_integral.tcc:320:55: error: macro "max" requires 2 arguments, but only 1 given
>   320 |       const _Tp __max = std::numeric_limits<_Tp>::max();
>       |                                                       ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:52,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/tr1/ell_integral.tcc:496:55: error: macro "min" requires 2 arguments, but only 1 given
>   496 |       const _Tp __min = std::numeric_limits<_Tp>::min();
>       |                                                       ^
> In file included from /usr/include/c++/11/bits/specfun.h:54,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/tr1/hypergeometric.tcc:308:64: error: macro "max" requires 2 arguments, but only 1 given
>   308 |       const _Tp __big = std::pow(std::numeric_limits<_Tp>::max(), _Tp(0.16L));
>       |                                                                ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:54,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/tr1/hypergeometric.tcc:446:68: error: macro "max" requires 2 arguments, but only 1 given
>   446 |       const _Tp __log_max = std::log(std::numeric_limits<_Tp>::max());
>       |                                                                    ^
> In file included from /usr/include/c++/11/bits/specfun.h:52,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/tr1/ell_integral.tcc:565:55: error: macro "min" requires 2 arguments, but only 1 given
>   565 |       const _Tp __min = std::numeric_limits<_Tp>::min();
>       |                                                       ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:53,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/tr1/exp_integral.tcc:207:58: error: macro "min" requires 2 arguments, but only 1 given
>   207 |       const _Tp __fp_min = std::numeric_limits<_Tp>::min();
>       |                                                          ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:51: note: macro "min" defined here
>    51 | #define min(a,b) ((a) < (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:54,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/tr1/hypergeometric.tcc:124:64: error: macro "max" requires 2 arguments, but only 1 given
>   124 |       const _Tp __big = std::pow(std::numeric_limits<_Tp>::max(), _Tp(0.16L));
>       |                                                                ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:54,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/tr1/hypergeometric.tcc:308:64: error: macro "max" requires 2 arguments, but only 1 given
>   308 |       const _Tp __big = std::pow(std::numeric_limits<_Tp>::max(), _Tp(0.16L));
>       |                                                                ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> In file included from /usr/include/c++/11/bits/specfun.h:54,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/tr1/hypergeometric.tcc:446:68: error: macro "max" requires 2 arguments, but only 1 given
>   446 |       const _Tp __log_max = std::log(std::numeric_limits<_Tp>::max());
>       |                                                                    ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/pm.h:49: note: macro "max" defined here
>    49 | #define max(a,b) ((a) > (b) ? (a) : (b))
>       | 
> /usr/include/c++/11/cmath: In function ‘_Tp std::__hypot3(_Tp, _Tp, _Tp)’:
> /usr/include/c++/11/cmath:1856:18: error: expected unqualified-id before ‘(’ token
>  1856 |       __x = std::abs(__x);
>       |                  ^~~
> /usr/include/c++/11/cmath:1857:18: error: expected unqualified-id before ‘(’ token
>  1857 |       __y = std::abs(__y);
>       |                  ^~~
> /usr/include/c++/11/cmath:1858:18: error: expected unqualified-id before ‘(’ token
>  1858 |       __z = std::abs(__z);
>       |                  ^~~
> /usr/include/c++/11/cmath: In function ‘_Tp std::__hypot3(_Tp, _Tp, _Tp)’:
> /usr/include/c++/11/cmath:1856:18: error: expected unqualified-id before ‘(’ token
>  1856 |       __x = std::abs(__x);
>       |                  ^~~
> /usr/include/c++/11/cmath:1857:18: error: expected unqualified-id before ‘(’ token
>  1857 |       __y = std::abs(__y);
>       |                  ^~~
> /usr/include/c++/11/cmath:1858:18: error: expected unqualified-id before ‘(’ token
>  1858 |       __z = std::abs(__z);
>       |                  ^~~
> /usr/include/c++/11/bits/stl_algobase.h: At global scope:
> /usr/include/c++/11/bits/stl_algobase.h:230:5: error: expected unqualified-id before ‘const’
>   230 |     min(const _Tp& __a, const _Tp& __b)
>       |     ^~~
> /usr/include/c++/11/bits/stl_algobase.h:230:5: error: expected ‘)’ before ‘const’
> /usr/include/c++/11/bits/stl_algobase.h:230:5: note: to match this ‘(’
>   230 |     min(const _Tp& __a, const _Tp& __b)
>       |     ^~~
> /usr/include/c++/11/bits/stl_algobase.h:230:5: error: expected ‘)’ before ‘const’
>   230 |     min(const _Tp& __a, const _Tp& __b)
>       |     ^~~
> /usr/include/c++/11/bits/stl_algobase.h:230:5: note: to match this ‘(’
>   230 |     min(const _Tp& __a, const _Tp& __b)
>       |     ^~~
> /usr/include/c++/11/bits/stl_algobase.h:254:5: error: expected unqualified-id before ‘const’
>   254 |     max(const _Tp& __a, const _Tp& __b)
>       |     ^~~
> /usr/include/c++/11/bits/stl_algobase.h:254:5: error: expected ‘)’ before ‘const’
> /usr/include/c++/11/bits/stl_algobase.h:254:5: note: to match this ‘(’
>   254 |     max(const _Tp& __a, const _Tp& __b)
>       |     ^~~
> /usr/include/c++/11/bits/stl_algobase.h:254:5: error: expected ‘)’ before ‘const’
>   254 |     max(const _Tp& __a, const _Tp& __b)
>       |     ^~~
> /usr/include/c++/11/bits/stl_algobase.h:254:5: note: to match this ‘(’
>   254 |     max(const _Tp& __a, const _Tp& __b)
>       |     ^~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:281:7: error: expected primary-expression before ‘if’
>   281 |       if (__comp(__b, __a))
>       |       ^~
> /usr/include/c++/11/bits/stl_algobase.h:281:7: error: expected ‘}’ before ‘if’
> /usr/include/c++/11/bits/stl_algobase.h:279:5: note: to match this ‘{’
>   279 |     {
>       |     ^
> /usr/include/c++/11/bits/stl_algobase.h:279:6: error: expected ‘;’ before ‘if’
>   279 |     {
>       |      ^
>       |      ;
>   280 |       //return __comp(__b, __a) ? __b : __a;
>   281 |       if (__comp(__b, __a))
>       |       ~~
> /usr/include/c++/11/bits/stl_algobase.h:283:7: error: expected unqualified-id before ‘return’
>   283 |       return __a;
>       |       ^~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:303:7: error: expected primary-expression before ‘if’
>   303 |       if (__comp(__a, __b))
>       |       ^~
> /usr/include/c++/11/bits/stl_algobase.h:303:7: error: expected ‘}’ before ‘if’
> /usr/include/c++/11/bits/stl_algobase.h:301:5: note: to match this ‘{’
>   301 |     {
>       |     ^
> /usr/include/c++/11/bits/stl_algobase.h:301:6: error: expected ‘;’ before ‘if’
>   301 |     {
>       |      ^
>       |      ;
>   302 |       //return __comp(__a, __b) ? __b : __a;
>   303 |       if (__comp(__a, __b))
>       |       ~~
> /usr/include/c++/11/bits/stl_algobase.h:305:7: error: expected unqualified-id before ‘return’
>   305 |       return __a;
>       |       ^~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:375:38: error: ‘random_access_iterator_tag’ was not declared in this scope; did you mean ‘std::random_access_iterator_tag’?
>   375 |     struct __copy_move<false, false, random_access_iterator_tag>
>       |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                                      std::random_access_iterator_tag
> In file included from /usr/include/c++/11/bits/stl_algobase.h:65,
>                  from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_iterator_base_types.h:107:10: note: ‘std::random_access_iterator_tag’ declared here
>   107 |   struct random_access_iterator_tag : public bidirectional_iterator_tag { };
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:375:64: error: template argument 3 is invalid
>   375 |     struct __copy_move<false, false, random_access_iterator_tag>
>       |                                                                ^
> /usr/include/c++/11/bits/stl_algobase.h:395:37: error: ‘random_access_iterator_tag’ was not declared in this scope; did you mean ‘std::random_access_iterator_tag’?
>   395 |     struct __copy_move<true, false, random_access_iterator_tag>
>       |                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                                     std::random_access_iterator_tag
> In file included from /usr/include/c++/11/bits/stl_algobase.h:65,
>                  from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_iterator_base_types.h:107:10: note: ‘std::random_access_iterator_tag’ declared here
>   107 |   struct random_access_iterator_tag : public bidirectional_iterator_tag { };
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:395:63: error: template argument 3 is invalid
>   395 |     struct __copy_move<true, false, random_access_iterator_tag>
>       |                                                               ^
> /usr/include/c++/11/bits/stl_algobase.h:415:39: error: ‘random_access_iterator_tag’ was not declared in this scope; did you mean ‘std::random_access_iterator_tag’?
>   415 |     struct __copy_move<_IsMove, true, random_access_iterator_tag>
>       |                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                                       std::random_access_iterator_tag
> In file included from /usr/include/c++/11/bits/stl_algobase.h:65,
>                  from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_iterator_base_types.h:107:10: note: ‘std::random_access_iterator_tag’ declared here
>   107 |   struct random_access_iterator_tag : public bidirectional_iterator_tag { };
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:415:65: error: template argument 3 is invalid
>   415 |     struct __copy_move<_IsMove, true, random_access_iterator_tag>
>       |                                                                 ^
> /usr/include/c++/11/bits/stl_algobase.h:457:37: error: ‘__is_char’ was not declared in this scope; did you mean ‘std::__is_char’?
>   457 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                     ^~~~~~~~~
>       |                                     std::__is_char
> In file included from /usr/include/c++/11/cmath:42,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/cpp_type_traits.h:353:12: note: ‘std::__is_char’ declared here
>   353 |     struct __is_char
>       |            ^~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:457:53: error: wrong number of template arguments (1, should be 2)
>   457 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                     ^
> In file included from /usr/include/c++/11/cmath:43,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/ext/type_traits.h:45:12: note: provided for ‘template<bool <anonymous>, class> struct __gnu_cxx::__enable_if’
>    45 |     struct __enable_if
>       |            ^~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:457:54: error: expected identifier before ‘::’ token
>   457 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                      ^~
> /usr/include/c++/11/bits/stl_algobase.h:457:56: error: ‘__value’ should have been declared inside ‘::’
>   457 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                        ^~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:457:63: error: expected ‘;’ before ‘,’ token
>   457 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                               ^
>       |                                                               ;
> /usr/include/c++/11/bits/stl_algobase.h:463:37: error: ‘__is_char’ was not declared in this scope; did you mean ‘std::__is_char’?
>   463 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                     ^~~~~~~~~
>       |                                     std::__is_char
> In file included from /usr/include/c++/11/cmath:42,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/cpp_type_traits.h:353:12: note: ‘std::__is_char’ declared here
>   353 |     struct __is_char
>       |            ^~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:463:53: error: wrong number of template arguments (1, should be 2)
>   463 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                     ^
> In file included from /usr/include/c++/11/cmath:43,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/ext/type_traits.h:45:12: note: provided for ‘template<bool <anonymous>, class> struct __gnu_cxx::__enable_if’
>    45 |     struct __enable_if
>       |            ^~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:463:54: error: expected identifier before ‘::’ token
>   463 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                      ^~
> /usr/include/c++/11/bits/stl_algobase.h:463:54: error: explicit qualification in declaration of ‘__value’
> /usr/include/c++/11/bits/stl_algobase.h:463:54: error: redefinition of ‘template<bool _IsMove, class _CharT> int __value’
> /usr/include/c++/11/bits/stl_algobase.h:457:54: note: ‘template<bool _IsMove, class _CharT> int __value<_IsMove, _CharT>’ previously declared here
>   457 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                      ^~
> /usr/include/c++/11/bits/stl_algobase.h:469:37: error: ‘__is_char’ was not declared in this scope; did you mean ‘std::__is_char’?
>   469 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                     ^~~~~~~~~
>       |                                     std::__is_char
> In file included from /usr/include/c++/11/cmath:42,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/cpp_type_traits.h:353:12: note: ‘std::__is_char’ declared here
>   353 |     struct __is_char
>       |            ^~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:469:53: error: wrong number of template arguments (1, should be 2)
>   469 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                     ^
> In file included from /usr/include/c++/11/cmath:43,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/ext/type_traits.h:45:12: note: provided for ‘template<bool <anonymous>, class> struct __gnu_cxx::__enable_if’
>    45 |     struct __enable_if
>       |            ^~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:469:54: error: expected identifier before ‘::’ token
>   469 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                      ^~
> /usr/include/c++/11/bits/stl_algobase.h:469:54: error: explicit qualification in declaration of ‘__value’
> /usr/include/c++/11/bits/stl_algobase.h:469:54: error: redefinition of ‘template<bool _IsMove, class _CharT> int __value’
> /usr/include/c++/11/bits/stl_algobase.h:457:54: note: ‘template<bool _IsMove, class _CharT> int __value<_IsMove, _CharT>’ previously declared here
>   457 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                      ^~
> /usr/include/c++/11/bits/stl_algobase.h:476:7: error: ‘__is_char’ was not declared in this scope; did you mean ‘std::__is_char’?
>   476 |       __is_char<_CharT>::__value,
>       |       ^~~~~~~~~
>       |       std::__is_char
> In file included from /usr/include/c++/11/cmath:42,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/cpp_type_traits.h:353:12: note: ‘std::__is_char’ declared here
>   353 |     struct __is_char
>       |            ^~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:476:23: error: wrong number of template arguments (1, should be 2)
>   476 |       __is_char<_CharT>::__value,
>       |                       ^
> In file included from /usr/include/c++/11/cmath:43,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/ext/type_traits.h:45:12: note: provided for ‘template<bool <anonymous>, class> struct __gnu_cxx::__enable_if’
>    45 |     struct __enable_if
>       |            ^~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:476:24: error: expected identifier before ‘::’ token
>   476 |       __is_char<_CharT>::__value,
>       |                        ^~
> /usr/include/c++/11/bits/stl_algobase.h:476:24: error: explicit qualification in declaration of ‘__value’
> /usr/include/c++/11/bits/stl_algobase.h:476:24: error: redefinition of ‘template<bool _IsMove, class _CharT> int __value’
> /usr/include/c++/11/bits/stl_algobase.h:457:54: note: ‘template<bool _IsMove, class _CharT> int __value<_IsMove, _CharT>’ previously declared here
>   457 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                      ^~
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘_OI __copy_move_a2(_II, _II, _OI)’:
> /usr/include/c++/11/bits/stl_algobase.h:488:24: error: expected nested-name-specifier before ‘iterator_traits’
>   488 |       typedef typename iterator_traits<_II>::iterator_category _Category;
>       |                        ^~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:488:39: error: expected initializer before ‘<’ token
>   488 |       typedef typename iterator_traits<_II>::iterator_category _Category;
>       |                                       ^
> /usr/include/c++/11/bits/stl_algobase.h:494:19: error: ‘__copy_move’ is not a member of ‘std’; did you mean ‘__copy_move’?
>   494 |       return std::__copy_move<_IsMove, __memcpyable<_OI, _II>::__value,
>       |                   ^~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:345:12: note: ‘__copy_move’ declared here
>   345 |     struct __copy_move
>       |            ^~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:494:40: error: ‘__memcpyable’ was not declared in this scope; did you mean ‘std::__memcpyable’?
>   494 |       return std::__copy_move<_IsMove, __memcpyable<_OI, _II>::__value,
>       |                                        ^~~~~~~~~~~~
>       |                                        std::__memcpyable
> In file included from /usr/include/c++/11/cmath:42,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/cpp_type_traits.h:443:12: note: ‘std::__memcpyable’ declared here
>   443 |     struct __memcpyable
>       |            ^~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:494:56: error: expected primary-expression before ‘,’ token
>   494 |       return std::__copy_move<_IsMove, __memcpyable<_OI, _II>::__value,
>       |                                                        ^
> /usr/include/c++/11/bits/stl_algobase.h:494:61: error: expected primary-expression before ‘>’ token
>   494 |       return std::__copy_move<_IsMove, __memcpyable<_OI, _II>::__value,
>       |                                                             ^
> /usr/include/c++/11/bits/stl_algobase.h:494:71: error: missing template arguments before ‘,’ token
>   494 |       return std::__copy_move<_IsMove, __memcpyable<_OI, _II>::__value,
>       |                                                                       ^
> /usr/include/c++/11/bits/stl_algobase.h:495:31: error: ‘_Category’ was not declared in this scope
>   495 |                               _Category>::__copy_m(__first, __last, __result);
>       |                               ^~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:495:43: error: ‘::__copy_m’ has not been declared; did you mean ‘__copy_move’?
>   495 |                               _Category>::__copy_m(__first, __last, __result);
>       |                                           ^~~~~~~~
>       |                                           __copy_move
> /usr/include/c++/11/bits/stl_algobase.h: At global scope:
> /usr/include/c++/11/bits/stl_algobase.h:501:36: error: ‘_Deque_iterator’ is not a member of ‘std’; did you mean ‘reverse_iterator’?
>   501 |     __copy_move_a1(_GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |                                    ^~~~~~~~~~~~~~~
>       |                                    reverse_iterator
> /usr/include/c++/11/bits/stl_algobase.h:501:55: error: expected primary-expression before ‘,’ token
>   501 |     __copy_move_a1(_GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |                                                       ^
> /usr/include/c++/11/bits/stl_algobase.h:501:61: error: expected primary-expression before ‘,’ token
>   501 |     __copy_move_a1(_GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |                                                             ^
> /usr/include/c++/11/bits/stl_algobase.h:501:67: error: expected primary-expression before ‘>’ token
>   501 |     __copy_move_a1(_GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |                                                                   ^
> /usr/include/c++/11/bits/stl_algobase.h:501:68: error: expected primary-expression before ‘,’ token
>   501 |     __copy_move_a1(_GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |                                                                    ^
> /usr/include/c++/11/bits/stl_algobase.h:502:36: error: ‘_Deque_iterator’ is not a member of ‘std’; did you mean ‘reverse_iterator’?
>   502 |                    _GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |                                    ^~~~~~~~~~~~~~~
>       |                                    reverse_iterator
> /usr/include/c++/11/bits/stl_algobase.h:502:55: error: expected primary-expression before ‘,’ token
>   502 |                    _GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |                                                       ^
> /usr/include/c++/11/bits/stl_algobase.h:502:61: error: expected primary-expression before ‘,’ token
>   502 |                    _GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |                                                             ^
> /usr/include/c++/11/bits/stl_algobase.h:502:67: error: expected primary-expression before ‘>’ token
>   502 |                    _GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |                                                                   ^
> /usr/include/c++/11/bits/stl_algobase.h:502:68: error: expected primary-expression before ‘,’ token
>   502 |                    _GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |                                                                    ^
> /usr/include/c++/11/bits/stl_algobase.h:503:23: error: expected primary-expression before ‘)’ token
>   503 |                    _OI);
>       |                       ^
> /usr/include/c++/11/bits/stl_algobase.h:507:21: error: ‘_Deque_iterator’ in namespace ‘std’ does not name a template type; did you mean ‘reverse_iterator’?
>   507 |     _GLIBCXX_STD_C::_Deque_iterator<_OTp, _OTp&, _OTp*>
>       |                     ^~~~~~~~~~~~~~~
>       |                     reverse_iterator
> /usr/include/c++/11/bits/stl_algobase.h:514:7: error: ‘__is_random_access_iter’ was not declared in this scope; did you mean ‘std::__is_random_access_iter’?
>   514 |       __is_random_access_iter<_II>::__value,
>       |       ^~~~~~~~~~~~~~~~~~~~~~~
>       |       std::__is_random_access_iter
> In file included from /usr/include/c++/11/bits/stl_algobase.h:65,
>                  from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_iterator_base_types.h:255:12: note: ‘std::__is_random_access_iter’ declared here
>   255 |     struct __is_random_access_iter
>       |            ^~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:514:34: error: wrong number of template arguments (1, should be 2)
>   514 |       __is_random_access_iter<_II>::__value,
>       |                                  ^
> In file included from /usr/include/c++/11/cmath:43,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/ext/type_traits.h:45:12: note: provided for ‘template<bool <anonymous>, class> struct __gnu_cxx::__enable_if’
>    45 |     struct __enable_if
>       |            ^~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:514:35: error: expected identifier before ‘::’ token
>   514 |       __is_random_access_iter<_II>::__value,
>       |                                   ^~
> /usr/include/c++/11/bits/stl_algobase.h:514:35: error: explicit qualification in declaration of ‘__value’
> /usr/include/c++/11/bits/stl_algobase.h:514:37: error: redeclaration of ‘template<bool _IsMove, class _II, class _Tp> int __value’
>   514 |       __is_random_access_iter<_II>::__value,
>       |                                     ^~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:457:54: note: previous declaration ‘template<bool _IsMove, class _CharT> int __value<_IsMove, _CharT>’
>   457 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                      ^~
> /usr/include/c++/11/bits/stl_algobase.h:514:44: error: expected ‘;’ before ‘,’ token
>   514 |       __is_random_access_iter<_II>::__value,
>       |                                            ^
>       |                                            ;
> /usr/include/c++/11/bits/stl_algobase.h:521:57: error: ‘template<bool _IsMove, class _II, class _OI> _OI __copy_move_a1(_II, _II, _OI)’ conflicts with a previous declaration
>   521 |     __copy_move_a1(_II __first, _II __last, _OI __result)
>       |                                                         ^
> /usr/include/c++/11/bits/stl_algobase.h:501:5: note: previous declaration ‘template<bool _IsMove, class _Tp, class _Ref, class _Ptr, class _OI> _OI __copy_move_a1<_IsMove, _Tp, _Ref, _Ptr, _OI>’
>   501 |     __copy_move_a1(_GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |     ^~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘_OI __copy_move_a1(_II, _II, _OI)’:
> /usr/include/c++/11/bits/stl_algobase.h:522:19: error: ‘__copy_move_a2’ is not a member of ‘std’; did you mean ‘__copy_move_a2’?
>   522 |     { return std::__copy_move_a2<_IsMove>(__first, __last, __result); }
>       |                   ^~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:486:5: note: ‘__copy_move_a2’ declared here
>   486 |     __copy_move_a2(_II __first, _II __last, _OI __result)
>       |     ^~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘_OI __copy_move_a(_II, _II, _OI)’:
> /usr/include/c++/11/bits/stl_algobase.h:529:19: error: ‘__niter_wrap’ is not a member of ‘std’; did you mean ‘__niter_base’?
>   529 |       return std::__niter_wrap(__result,
>       |                   ^~~~~~~~~~~~
>       |                   __niter_base
> /usr/include/c++/11/bits/stl_algobase.h:530:22: error: ‘__copy_move_a1’ is not a member of ‘std’; did you mean ‘__copy_move_a1<_IsMove, _Tp, _Ref, _Ptr, _OI>’?
>   530 |                 std::__copy_move_a1<_IsMove>(std::__niter_base(__first),
>       |                      ^~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:501:5: note: ‘__copy_move_a1<_IsMove, _Tp, _Ref, _Ptr, _OI>’ declared here
>   501 |     __copy_move_a1(_GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |     ^~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h: At global scope:
> /usr/include/c++/11/bits/stl_algobase.h:579:7: error: ‘__is_char’ was not declared in this scope; did you mean ‘std::__is_char’?
>   579 |       __is_char<_CharT>::__value, _CharT*>::__type
>       |       ^~~~~~~~~
>       |       std::__is_char
> In file included from /usr/include/c++/11/cmath:42,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/cpp_type_traits.h:353:12: note: ‘std::__is_char’ declared here
>   353 |     struct __is_char
>       |            ^~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:579:23: error: wrong number of template arguments (1, should be 2)
>   579 |       __is_char<_CharT>::__value, _CharT*>::__type
>       |                       ^
> In file included from /usr/include/c++/11/cmath:43,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/ext/type_traits.h:45:12: note: provided for ‘template<bool <anonymous>, class> struct __gnu_cxx::__enable_if’
>    45 |     struct __enable_if
>       |            ^~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:579:24: error: expected identifier before ‘::’ token
>   579 |       __is_char<_CharT>::__value, _CharT*>::__type
>       |                        ^~
> /usr/include/c++/11/bits/stl_algobase.h:579:24: error: explicit qualification in declaration of ‘__value’
> /usr/include/c++/11/bits/stl_algobase.h:579:26: error: redeclaration of ‘template<class _CharT, class _Size> int __value’
>   579 |       __is_char<_CharT>::__value, _CharT*>::__type
>       |                          ^~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:457:54: note: previous declaration ‘template<bool _IsMove, class _CharT> int __value<_IsMove, _CharT>’
>   457 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                      ^~
> /usr/include/c++/11/bits/stl_algobase.h:579:33: error: expected ‘;’ before ‘,’ token
>   579 |       __is_char<_CharT>::__value, _CharT*>::__type
>       |                                 ^
>       |                                 ;
> /usr/include/c++/11/bits/stl_algobase.h:585:7: error: ‘__is_char’ was not declared in this scope; did you mean ‘std::__is_char’?
>   585 |       __is_char<_CharT>::__value,
>       |       ^~~~~~~~~
>       |       std::__is_char
> In file included from /usr/include/c++/11/cmath:42,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/cpp_type_traits.h:353:12: note: ‘std::__is_char’ declared here
>   353 |     struct __is_char
>       |            ^~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:585:23: error: wrong number of template arguments (1, should be 2)
>   585 |       __is_char<_CharT>::__value,
>       |                       ^
> In file included from /usr/include/c++/11/cmath:43,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/ext/type_traits.h:45:12: note: provided for ‘template<bool <anonymous>, class> struct __gnu_cxx::__enable_if’
>    45 |     struct __enable_if
>       |            ^~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:585:24: error: expected identifier before ‘::’ token
>   585 |       __is_char<_CharT>::__value,
>       |                        ^~
> /usr/include/c++/11/bits/stl_algobase.h:585:24: error: explicit qualification in declaration of ‘__value’
> /usr/include/c++/11/bits/stl_algobase.h:585:26: error: redeclaration of ‘template<class _CharT, class _Size> int __value’
>   585 |       __is_char<_CharT>::__value,
>       |                          ^~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:457:54: note: previous declaration ‘template<bool _IsMove, class _CharT> int __value<_IsMove, _CharT>’
>   457 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                      ^~
> /usr/include/c++/11/bits/stl_algobase.h:585:33: error: expected ‘;’ before ‘,’ token
>   585 |       __is_char<_CharT>::__value,
>       |                                 ^
>       |                                 ;
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘_OI copy(_II, _II, _OI)’:
> /usr/include/c++/11/bits/stl_algobase.h:619:19: error: ‘__copy_move_a’ is not a member of ‘std’; did you mean ‘__copy_move_a’?
>   619 |       return std::__copy_move_a<__is_move_iterator<_II>::__value>
>       |                   ^~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:552:5: note: ‘__copy_move_a’ declared here
>   552 |     __copy_move_a(const ::__gnu_debug::_Safe_iterator<_IIte, _ISeq, _ICat>&,
>       |     ^~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:619:33: error: ‘__is_move_iterator’ was not declared in this scope; did you mean ‘std::__is_move_iterator’?
>   619 |       return std::__copy_move_a<__is_move_iterator<_II>::__value>
>       |                                 ^~~~~~~~~~~~~~~~~~
>       |                                 std::__is_move_iterator
> In file included from /usr/include/c++/11/cmath:42,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/cpp_type_traits.h:549:12: note: ‘std::__is_move_iterator’ declared here
>   549 |     struct __is_move_iterator
>       |            ^~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:619:55: error: expected primary-expression before ‘>’ token
>   619 |       return std::__copy_move_a<__is_move_iterator<_II>::__value>
>       |                                                       ^
> /usr/include/c++/11/bits/stl_algobase.h:619:65: error: missing template arguments before ‘>’ token
>   619 |       return std::__copy_move_a<__is_move_iterator<_II>::__value>
>       |                                                                 ^
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘_OI move(_II, _II, _OI)’:
> /usr/include/c++/11/bits/stl_algobase.h:652:19: error: ‘__copy_move_a’ is not a member of ‘std’; did you mean ‘__copy_move_a’?
>   652 |       return std::__copy_move_a<true>(std::__miter_base(__first),
>       |                   ^~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:552:5: note: ‘__copy_move_a’ declared here
>   552 |     __copy_move_a(const ::__gnu_debug::_Safe_iterator<_IIte, _ISeq, _ICat>&,
>       |     ^~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h: At global scope:
> /usr/include/c++/11/bits/stl_algobase.h:692:47: error: ‘random_access_iterator_tag’ was not declared in this scope; did you mean ‘std::random_access_iterator_tag’?
>   692 |     struct __copy_move_backward<false, false, random_access_iterator_tag>
>       |                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                                               std::random_access_iterator_tag
> In file included from /usr/include/c++/11/bits/stl_algobase.h:65,
>                  from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_iterator_base_types.h:107:10: note: ‘std::random_access_iterator_tag’ declared here
>   107 |   struct random_access_iterator_tag : public bidirectional_iterator_tag { };
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:692:73: error: template argument 3 is invalid
>   692 |     struct __copy_move_backward<false, false, random_access_iterator_tag>
>       |                                                                         ^
> /usr/include/c++/11/bits/stl_algobase.h:709:46: error: ‘random_access_iterator_tag’ was not declared in this scope; did you mean ‘std::random_access_iterator_tag’?
>   709 |     struct __copy_move_backward<true, false, random_access_iterator_tag>
>       |                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                                              std::random_access_iterator_tag
> In file included from /usr/include/c++/11/bits/stl_algobase.h:65,
>                  from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_iterator_base_types.h:107:10: note: ‘std::random_access_iterator_tag’ declared here
>   107 |   struct random_access_iterator_tag : public bidirectional_iterator_tag { };
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:709:72: error: template argument 3 is invalid
>   709 |     struct __copy_move_backward<true, false, random_access_iterator_tag>
>       |                                                                        ^
> /usr/include/c++/11/bits/stl_algobase.h:726:48: error: ‘random_access_iterator_tag’ was not declared in this scope; did you mean ‘std::random_access_iterator_tag’?
>   726 |     struct __copy_move_backward<_IsMove, true, random_access_iterator_tag>
>       |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                                                std::random_access_iterator_tag
> In file included from /usr/include/c++/11/bits/stl_algobase.h:65,
>                  from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_iterator_base_types.h:107:10: note: ‘std::random_access_iterator_tag’ declared here
>   107 |   struct random_access_iterator_tag : public bidirectional_iterator_tag { };
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:726:74: error: template argument 3 is invalid
>   726 |     struct __copy_move_backward<_IsMove, true, random_access_iterator_tag>
>       |                                                                          ^
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘_BI2 __copy_move_backward_a2(_BI1, _BI1, _BI2)’:
> /usr/include/c++/11/bits/stl_algobase.h:752:24: error: expected nested-name-specifier before ‘iterator_traits’
>   752 |       typedef typename iterator_traits<_BI1>::iterator_category _Category;
>       |                        ^~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:752:39: error: expected initializer before ‘<’ token
>   752 |       typedef typename iterator_traits<_BI1>::iterator_category _Category;
>       |                                       ^
> /usr/include/c++/11/bits/stl_algobase.h:758:19: error: ‘__copy_move_backward’ is not a member of ‘std’; did you mean ‘__copy_move_backward’?
>   758 |       return std::__copy_move_backward<_IsMove,
>       |                   ^~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:662:12: note: ‘__copy_move_backward’ declared here
>   662 |     struct __copy_move_backward
>       |            ^~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:759:40: error: ‘__memcpyable’ was not declared in this scope; did you mean ‘std::__memcpyable’?
>   759 |                                        __memcpyable<_BI2, _BI1>::__value,
>       |                                        ^~~~~~~~~~~~
>       |                                        std::__memcpyable
> In file included from /usr/include/c++/11/cmath:42,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/cpp_type_traits.h:443:12: note: ‘std::__memcpyable’ declared here
>   443 |     struct __memcpyable
>       |            ^~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:759:57: error: expected primary-expression before ‘,’ token
>   759 |                                        __memcpyable<_BI2, _BI1>::__value,
>       |                                                         ^
> /usr/include/c++/11/bits/stl_algobase.h:759:63: error: expected primary-expression before ‘>’ token
>   759 |                                        __memcpyable<_BI2, _BI1>::__value,
>       |                                                               ^
> /usr/include/c++/11/bits/stl_algobase.h:759:73: error: missing template arguments before ‘,’ token
>   759 |                                        __memcpyable<_BI2, _BI1>::__value,
>       |                                                                         ^
> /usr/include/c++/11/bits/stl_algobase.h: At global scope:
> /usr/include/c++/11/bits/stl_algobase.h:230:5: error: expected unqualified-id before ‘const’
>   230 |     min(const _Tp& __a, const _Tp& __b)
>       |     ^~~
> /usr/include/c++/11/bits/stl_algobase.h:230:5: error: expected ‘)’ before ‘const’
> /usr/include/c++/11/bits/stl_algobase.h:230:5: note: to match this ‘(’
>   230 |     min(const _Tp& __a, const _Tp& __b)
>       |     ^~~
> /usr/include/c++/11/bits/stl_algobase.h:230:5: error: expected ‘)’ before ‘const’
>   230 |     min(const _Tp& __a, const _Tp& __b)
>       |     ^~~
> /usr/include/c++/11/bits/stl_algobase.h:230:5: note: to match this ‘(’
>   230 |     min(const _Tp& __a, const _Tp& __b)
>       |     ^~~
> /usr/include/c++/11/bits/stl_algobase.h:254:5: error: expected unqualified-id before ‘const’
>   254 |     max(const _Tp& __a, const _Tp& __b)
>       |     ^~~
> /usr/include/c++/11/bits/stl_algobase.h:254:5: error: expected ‘)’ before ‘const’
> /usr/include/c++/11/bits/stl_algobase.h:254:5: note: to match this ‘(’
>   254 |     max(const _Tp& __a, const _Tp& __b)
>       |     ^~~
> /usr/include/c++/11/bits/stl_algobase.h:254:5: error: expected ‘)’ before ‘const’
>   254 |     max(const _Tp& __a, const _Tp& __b)
>       |     ^~~
> /usr/include/c++/11/bits/stl_algobase.h:254:5: note: to match this ‘(’
>   254 |     max(const _Tp& __a, const _Tp& __b)
>       |     ^~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:281:7: error: expected primary-expression before ‘if’
>   281 |       if (__comp(__b, __a))
>       |       ^~
> /usr/include/c++/11/bits/stl_algobase.h:281:7: error: expected ‘}’ before ‘if’
> /usr/include/c++/11/bits/stl_algobase.h:279:5: note: to match this ‘{’
>   279 |     {
>       |     ^
> /usr/include/c++/11/bits/stl_algobase.h:279:6: error: expected ‘;’ before ‘if’
>   279 |     {
>       |      ^
>       |      ;
>   280 |       //return __comp(__b, __a) ? __b : __a;
>   281 |       if (__comp(__b, __a))
>       |       ~~
> /usr/include/c++/11/bits/stl_algobase.h:760:40: error: ‘_Category’ was not declared in this scope
>   760 |                                        _Category>::__copy_move_b(__first,
>       |                                        ^~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:283:7: error: expected unqualified-id before ‘return’
>   283 |       return __a;
>       |       ^~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:303:7: error: expected primary-expression before ‘if’
>   303 |       if (__comp(__a, __b))
>       |       ^~
> /usr/include/c++/11/bits/stl_algobase.h:303:7: error: expected ‘}’ before ‘if’
> /usr/include/c++/11/bits/stl_algobase.h:301:5: note: to match this ‘{’
>   301 |     {
>       |     ^
> /usr/include/c++/11/bits/stl_algobase.h:301:6: error: expected ‘;’ before ‘if’
>   301 |     {
>       |      ^
>       |      ;
>   302 |       //return __comp(__a, __b) ? __b : __a;
>   303 |       if (__comp(__a, __b))
>       |       ~~
> /usr/include/c++/11/bits/stl_algobase.h:305:7: error: expected unqualified-id before ‘return’
>   305 |       return __a;
>       |       ^~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:375:38: error: ‘random_access_iterator_tag’ was not declared in this scope; did you mean ‘std::random_access_iterator_tag’?
>   375 |     struct __copy_move<false, false, random_access_iterator_tag>
>       |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                                      std::random_access_iterator_tag
> In file included from /usr/include/c++/11/bits/stl_algobase.h:65,
>                  from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_iterator_base_types.h:107:10: note: ‘std::random_access_iterator_tag’ declared here
>   107 |   struct random_access_iterator_tag : public bidirectional_iterator_tag { };
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:375:64: error: template argument 3 is invalid
>   375 |     struct __copy_move<false, false, random_access_iterator_tag>
>       |                                                                ^
> /usr/include/c++/11/bits/stl_algobase.h:395:37: error: ‘random_access_iterator_tag’ was not declared in this scope; did you mean ‘std::random_access_iterator_tag’?
>   395 |     struct __copy_move<true, false, random_access_iterator_tag>
>       |                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                                     std::random_access_iterator_tag
> In file included from /usr/include/c++/11/bits/stl_algobase.h:65,
>                  from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_iterator_base_types.h:107:10: note: ‘std::random_access_iterator_tag’ declared here
>   107 |   struct random_access_iterator_tag : public bidirectional_iterator_tag { };
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:395:63: error: template argument 3 is invalid
>   395 |     struct __copy_move<true, false, random_access_iterator_tag>
>       |                                                               ^
> /usr/include/c++/11/bits/stl_algobase.h:415:39: error: ‘random_access_iterator_tag’ was not declared in this scope; did you mean ‘std::random_access_iterator_tag’?
>   415 |     struct __copy_move<_IsMove, true, random_access_iterator_tag>
>       |                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                                       std::random_access_iterator_tag
> In file included from /usr/include/c++/11/bits/stl_algobase.h:65,
>                  from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_iterator_base_types.h:107:10: note: ‘std::random_access_iterator_tag’ declared here
>   107 |   struct random_access_iterator_tag : public bidirectional_iterator_tag { };
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:415:65: error: template argument 3 is invalid
>   415 |     struct __copy_move<_IsMove, true, random_access_iterator_tag>
>       |                                                                 ^
> /usr/include/c++/11/bits/stl_algobase.h:457:37: error: ‘__is_char’ was not declared in this scope; did you mean ‘std::__is_char’?
>   457 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                     ^~~~~~~~~
>       |                                     std::__is_char
> /usr/include/c++/11/bits/stl_algobase.h:760:52: error: ‘::__copy_move_b’ has not been declared; did you mean ‘__copy_move_a’?
>   760 |                                        _Category>::__copy_move_b(__first,
>       |                                                    ^~~~~~~~~~~~~
>       |                                                    __copy_move_a
> In file included from /usr/include/c++/11/cmath:42,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/cpp_type_traits.h:353:12: note: ‘std::__is_char’ declared here
>   353 |     struct __is_char
>       |            ^~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:457:53: error: wrong number of template arguments (1, should be 2)
>   457 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                     ^
> In file included from /usr/include/c++/11/cmath:43,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/ext/type_traits.h:45:12: note: provided for ‘template<bool <anonymous>, class> struct __gnu_cxx::__enable_if’
>    45 |     struct __enable_if
>       |            ^~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:457:54: error: expected identifier before ‘::’ token
>   457 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                      ^~
> /usr/include/c++/11/bits/stl_algobase.h:457:56: error: ‘__value’ should have been declared inside ‘::’
>   457 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                        ^~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘_BI2 __copy_move_backward_a1(_BI1, _BI1, _BI2)’:
> /usr/include/c++/11/bits/stl_algobase.h:769:19: error: ‘__copy_move_backward_a2’ is not a member of ‘std’; did you mean ‘__copy_move_backward_a2’?
>   769 |     { return std::__copy_move_backward_a2<_IsMove>(__first, __last, __result); }
>       |                   ^~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:457:63: error: expected ‘;’ before ‘,’ token
>   457 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                               ^
>       |                                                               ;
> /usr/include/c++/11/bits/stl_algobase.h:750:5: note: ‘__copy_move_backward_a2’ declared here
>   750 |     __copy_move_backward_a2(_BI1 __first, _BI1 __last, _BI2 __result)
>       |     ^~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h: At global scope:
> /usr/include/c++/11/bits/stl_algobase.h:774:45: error: ‘template<bool _IsMove, class _Tp, class _Ref, class _Ptr, class _OI> _OI __copy_move_backward_a1’ conflicts with a previous declaration
>   774 |     __copy_move_backward_a1(_GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |                                             ^~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:768:5: note: previous declaration ‘_BI2 __copy_move_backward_a1(_BI1, _BI1, _BI2)’
>   768 |     __copy_move_backward_a1(_BI1 __first, _BI1 __last, _BI2 __result)
>       |     ^~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:463:37: error: ‘__is_char’ was not declared in this scope; did you mean ‘std::__is_char’?
>   463 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                     ^~~~~~~~~
>       |                                     std::__is_char
> In file included from /usr/include/c++/11/cmath:42,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/cpp_type_traits.h:353:12: note: ‘std::__is_char’ declared here
>   353 |     struct __is_char
>       |            ^~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:463:53: error: wrong number of template arguments (1, should be 2)
>   463 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                     ^
> In file included from /usr/include/c++/11/cmath:43,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/ext/type_traits.h:45:12: note: provided for ‘template<bool <anonymous>, class> struct __gnu_cxx::__enable_if’
>    45 |     struct __enable_if
>       |            ^~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:774:45: error: ‘_Deque_iterator’ is not a member of ‘std’; did you mean ‘reverse_iterator’?
>   774 |     __copy_move_backward_a1(_GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |                                             ^~~~~~~~~~~~~~~
>       |                                             reverse_iterator
> /usr/include/c++/11/bits/stl_algobase.h:774:64: error: expected primary-expression before ‘,’ token
>   774 |     __copy_move_backward_a1(_GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |                                                                ^
> /usr/include/c++/11/bits/stl_algobase.h:774:70: error: expected primary-expression before ‘,’ token
>   774 |     __copy_move_backward_a1(_GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |                                                                      ^
> /usr/include/c++/11/bits/stl_algobase.h:774:76: error: expected primary-expression before ‘>’ token
>   774 |     __copy_move_backward_a1(_GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |                                                                            ^
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:463:54: error: expected identifier before ‘::’ token
>   463 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                      ^~
> /usr/include/c++/11/bits/stl_algobase.h:774:77: error: expected primary-expression before ‘,’ token
>   774 |     __copy_move_backward_a1(_GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |                                                                             ^
> /usr/include/c++/11/bits/stl_algobase.h:463:54: error: explicit qualification in declaration of ‘__value’
> /usr/include/c++/11/bits/stl_algobase.h:463:54: error: redefinition of ‘template<bool _IsMove, class _CharT> int __value’
> /usr/include/c++/11/bits/stl_algobase.h:457:54: note: ‘template<bool _IsMove, class _CharT> int __value<_IsMove, _CharT>’ previously declared here
>   457 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                      ^~
> /usr/include/c++/11/bits/stl_algobase.h:469:37: error: ‘__is_char’ was not declared in this scope; did you mean ‘std::__is_char’?
>   469 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                     ^~~~~~~~~
>       |                                     std::__is_char
> /usr/include/c++/11/bits/stl_algobase.h:775:45: error: ‘_Deque_iterator’ is not a member of ‘std’; did you mean ‘reverse_iterator’?
>   775 |                             _GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |                                             ^~~~~~~~~~~~~~~
>       |                                             reverse_iterator
> In file included from /usr/include/c++/11/cmath:42,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/cpp_type_traits.h:353:12: note: ‘std::__is_char’ declared here
>   353 |     struct __is_char
>       |            ^~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:775:64: error: expected primary-expression before ‘,’ token
>   775 |                             _GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |                                                                ^
> /usr/include/c++/11/bits/stl_algobase.h:775:70: error: expected primary-expression before ‘,’ token
>   775 |                             _GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |                                                                      ^
> /usr/include/c++/11/bits/stl_algobase.h:775:76: error: expected primary-expression before ‘>’ token
>   775 |                             _GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |                                                                            ^
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:469:53: error: wrong number of template arguments (1, should be 2)
>   469 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                     ^
> /usr/include/c++/11/bits/stl_algobase.h:775:77: error: expected primary-expression before ‘,’ token
>   775 |                             _GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |                                                                             ^
> /usr/include/c++/11/bits/stl_algobase.h:776:32: error: expected primary-expression before ‘)’ token
>   776 |                             _OI);
>       |                                ^
> In file included from /usr/include/c++/11/cmath:43,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/ext/type_traits.h:45:12: note: provided for ‘template<bool <anonymous>, class> struct __gnu_cxx::__enable_if’
>    45 |     struct __enable_if
>       |            ^~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:469:54: error: expected identifier before ‘::’ token
>   469 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                      ^~
> /usr/include/c++/11/bits/stl_algobase.h:469:54: error: explicit qualification in declaration of ‘__value’
> /usr/include/c++/11/bits/stl_algobase.h:469:54: error: redefinition of ‘template<bool _IsMove, class _CharT> int __value’
> /usr/include/c++/11/bits/stl_algobase.h:457:54: note: ‘template<bool _IsMove, class _CharT> int __value<_IsMove, _CharT>’ previously declared here
>   457 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                      ^~
> /usr/include/c++/11/bits/stl_algobase.h:780:21: error: ‘_Deque_iterator’ in namespace ‘std’ does not name a template type; did you mean ‘reverse_iterator’?
>   780 |     _GLIBCXX_STD_C::_Deque_iterator<_OTp, _OTp&, _OTp*>
>       |                     ^~~~~~~~~~~~~~~
>       |                     reverse_iterator
> /usr/include/c++/11/bits/stl_algobase.h:476:7: error: ‘__is_char’ was not declared in this scope; did you mean ‘std::__is_char’?
>   476 |       __is_char<_CharT>::__value,
>       |       ^~~~~~~~~
>       |       std::__is_char
> /usr/include/c++/11/bits/stl_algobase.h:788:7: error: ‘__is_random_access_iter’ was not declared in this scope; did you mean ‘std::__is_random_access_iter’?
>   788 |       __is_random_access_iter<_II>::__value,
>       |       ^~~~~~~~~~~~~~~~~~~~~~~
>       |       std::__is_random_access_iter
> In file included from /usr/include/c++/11/bits/stl_algobase.h:65,
>                  from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_iterator_base_types.h:255:12: note: ‘std::__is_random_access_iter’ declared here
>   255 |     struct __is_random_access_iter
>       |            ^~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:788:34: error: wrong number of template arguments (1, should be 2)
>   788 |       __is_random_access_iter<_II>::__value,
>       |                                  ^
> In file included from /usr/include/c++/11/cmath:43,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/ext/type_traits.h:45:12: note: provided for ‘template<bool <anonymous>, class> struct __gnu_cxx::__enable_if’
>    45 |     struct __enable_if
>       |            ^~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:788:35: error: expected identifier before ‘::’ token
>   788 |       __is_random_access_iter<_II>::__value,
>       |                                   ^~
> /usr/include/c++/11/bits/stl_algobase.h:788:35: error: explicit qualification in declaration of ‘__value’
> /usr/include/c++/11/bits/stl_algobase.h:788:37: error: redeclaration of ‘template<bool _IsMove, class _II, class _Tp> int __value’
>   788 |       __is_random_access_iter<_II>::__value,
>       |                                     ^~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:457:54: note: previous declaration ‘template<bool _IsMove, class _CharT> int __value<_IsMove, _CharT>’
>   457 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                      ^~
> /usr/include/c++/11/bits/stl_algobase.h:788:44: error: expected ‘;’ before ‘,’ token
>   788 |       __is_random_access_iter<_II>::__value,
>       |                                            ^
>       |                                            ;
> In file included from /usr/include/c++/11/cmath:42,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/cpp_type_traits.h:353:12: note: ‘std::__is_char’ declared here
>   353 |     struct __is_char
>       |            ^~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:476:23: error: wrong number of template arguments (1, should be 2)
>   476 |       __is_char<_CharT>::__value,
>       |                       ^
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘_OI __copy_move_backward_a(_II, _II, _OI)’:
> /usr/include/c++/11/bits/stl_algobase.h:798:19: error: ‘__niter_wrap’ is not a member of ‘std’; did you mean ‘__niter_base’?
>   798 |       return std::__niter_wrap(__result,
>       |                   ^~~~~~~~~~~~
>       |                   __niter_base
> In file included from /usr/include/c++/11/cmath:43,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/ext/type_traits.h:45:12: note: provided for ‘template<bool <anonymous>, class> struct __gnu_cxx::__enable_if’
>    45 |     struct __enable_if
>       |            ^~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:476:24: error: expected identifier before ‘::’ token
>   476 |       __is_char<_CharT>::__value,
>       |                        ^~
> /usr/include/c++/11/bits/stl_algobase.h:476:24: error: explicit qualification in declaration of ‘__value’
> /usr/include/c++/11/bits/stl_algobase.h:476:24: error: redefinition of ‘template<bool _IsMove, class _CharT> int __value’
> /usr/include/c++/11/bits/stl_algobase.h:457:54: note: ‘template<bool _IsMove, class _CharT> int __value<_IsMove, _CharT>’ previously declared here
>   457 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                      ^~
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘_OI __copy_move_a2(_II, _II, _OI)’:
> /usr/include/c++/11/bits/stl_algobase.h:488:24: error: expected nested-name-specifier before ‘iterator_traits’
>   488 |       typedef typename iterator_traits<_II>::iterator_category _Category;
>       |                        ^~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:488:39: error: expected initializer before ‘<’ token
>   488 |       typedef typename iterator_traits<_II>::iterator_category _Category;
>       |                                       ^
> /usr/include/c++/11/bits/stl_algobase.h:799:22: error: ‘__copy_move_backward_a1’ is not a member of ‘std’; did you mean ‘__copy_move_backward_a1’?
>   799 |                 std::__copy_move_backward_a1<_IsMove>
>       |                      ^~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:768:5: note: ‘__copy_move_backward_a1’ declared here
>   768 |     __copy_move_backward_a1(_BI1 __first, _BI1 __last, _BI2 __result)
>       |     ^~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:494:19: error: ‘__copy_move’ is not a member of ‘std’; did you mean ‘__copy_move’?
>   494 |       return std::__copy_move<_IsMove, __memcpyable<_OI, _II>::__value,
>       |                   ^~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:345:12: note: ‘__copy_move’ declared here
>   345 |     struct __copy_move
>       |            ^~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:494:40: error: ‘__memcpyable’ was not declared in this scope; did you mean ‘std::__memcpyable’?
>   494 |       return std::__copy_move<_IsMove, __memcpyable<_OI, _II>::__value,
>       |                                        ^~~~~~~~~~~~
>       |                                        std::__memcpyable
> In file included from /usr/include/c++/11/cmath:42,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/cpp_type_traits.h:443:12: note: ‘std::__memcpyable’ declared here
>   443 |     struct __memcpyable
>       |            ^~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:494:56: error: expected primary-expression before ‘,’ token
>   494 |       return std::__copy_move<_IsMove, __memcpyable<_OI, _II>::__value,
>       |                                                        ^
> /usr/include/c++/11/bits/stl_algobase.h:494:61: error: expected primary-expression before ‘>’ token
>   494 |       return std::__copy_move<_IsMove, __memcpyable<_OI, _II>::__value,
>       |                                                             ^
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘_BI2 copy_backward(_BI1, _BI1, _BI2)’:
> /usr/include/c++/11/bits/stl_algobase.h:858:19: error: ‘__copy_move_backward_a’ is not a member of ‘std’; did you mean ‘__copy_move_backward_a’?
>   858 |       return std::__copy_move_backward_a<__is_move_iterator<_BI1>::__value>
>       |                   ^~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:822:5: note: ‘__copy_move_backward_a’ declared here
>   822 |     __copy_move_backward_a(
>       |     ^~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:494:71: error: missing template arguments before ‘,’ token
>   494 |       return std::__copy_move<_IsMove, __memcpyable<_OI, _II>::__value,
>       |                                                                       ^
> /usr/include/c++/11/bits/stl_algobase.h:858:42: error: ‘__is_move_iterator’ was not declared in this scope; did you mean ‘std::__is_move_iterator’?
>   858 |       return std::__copy_move_backward_a<__is_move_iterator<_BI1>::__value>
>       |                                          ^~~~~~~~~~~~~~~~~~
>       |                                          std::__is_move_iterator
> In file included from /usr/include/c++/11/cmath:42,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/cpp_type_traits.h:549:12: note: ‘std::__is_move_iterator’ declared here
>   549 |     struct __is_move_iterator
>       |            ^~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:858:65: error: expected primary-expression before ‘>’ token
>   858 |       return std::__copy_move_backward_a<__is_move_iterator<_BI1>::__value>
>       |                                                                 ^
> /usr/include/c++/11/bits/stl_algobase.h:858:75: error: missing template arguments before ‘>’ token
>   858 |       return std::__copy_move_backward_a<__is_move_iterator<_BI1>::__value>
>       |                                                                           ^
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘_BI2 move_backward(_BI1, _BI1, _BI2)’:
> /usr/include/c++/11/bits/stl_algobase.h:894:19: error: ‘__copy_move_backward_a’ is not a member of ‘std’; did you mean ‘__copy_move_backward_a’?
>   894 |       return std::__copy_move_backward_a<true>(std::__miter_base(__first),
>       |                   ^~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:822:5: note: ‘__copy_move_backward_a’ declared here
>   822 |     __copy_move_backward_a(
>       |     ^~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h: At global scope:
> /usr/include/c++/11/bits/stl_algobase.h:907:29: error: ‘__is_scalar’ was not declared in this scope; did you mean ‘std::__is_scalar’?
>   907 |     __gnu_cxx::__enable_if<!__is_scalar<_Tp>::__value, void>::__type
>       |                             ^~~~~~~~~~~
>       |                             std::__is_scalar
> In file included from /usr/include/c++/11/cmath:42,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/cpp_type_traits.h:345:12: note: ‘std::__is_scalar’ declared here
>   345 |     struct __is_scalar
>       |            ^~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:907:44: error: wrong number of template arguments (1, should be 2)
>   907 |     __gnu_cxx::__enable_if<!__is_scalar<_Tp>::__value, void>::__type
>       |                                            ^
> In file included from /usr/include/c++/11/cmath:43,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/ext/type_traits.h:45:12: note: provided for ‘template<bool <anonymous>, class> struct __gnu_cxx::__enable_if’
>    45 |     struct __enable_if
>       |            ^~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:907:45: error: expected identifier before ‘::’ token
>   907 |     __gnu_cxx::__enable_if<!__is_scalar<_Tp>::__value, void>::__type
>       |                                             ^~
> /usr/include/c++/11/bits/stl_algobase.h:907:45: error: explicit qualification in declaration of ‘__value’
> /usr/include/c++/11/bits/stl_algobase.h:907:47: error: redeclaration of ‘template<class _ForwardIterator, class _Tp> int __value’
>   907 |     __gnu_cxx::__enable_if<!__is_scalar<_Tp>::__value, void>::__type
>       |                                               ^~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:457:54: note: previous declaration ‘template<bool _IsMove, class _CharT> int __value<_IsMove, _CharT>’
>   457 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                      ^~
> /usr/include/c++/11/bits/stl_algobase.h:907:54: error: expected ‘;’ before ‘,’ token
>   907 |     __gnu_cxx::__enable_if<!__is_scalar<_Tp>::__value, void>::__type
>       |                                                      ^
>       |                                                      ;
> /usr/include/c++/11/bits/stl_algobase.h:918:28: error: ‘__is_scalar’ was not declared in this scope; did you mean ‘std::__is_scalar’?
>   918 |     __gnu_cxx::__enable_if<__is_scalar<_Tp>::__value, void>::__type
>       |                            ^~~~~~~~~~~
>       |                            std::__is_scalar
> In file included from /usr/include/c++/11/cmath:42,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/cpp_type_traits.h:345:12: note: ‘std::__is_scalar’ declared here
>   345 |     struct __is_scalar
>       |            ^~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:918:43: error: wrong number of template arguments (1, should be 2)
>   918 |     __gnu_cxx::__enable_if<__is_scalar<_Tp>::__value, void>::__type
>       |                                           ^
> In file included from /usr/include/c++/11/cmath:43,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/ext/type_traits.h:45:12: note: provided for ‘template<bool <anonymous>, class> struct __gnu_cxx::__enable_if’
>    45 |     struct __enable_if
>       |            ^~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:918:44: error: expected identifier before ‘::’ token
>   918 |     __gnu_cxx::__enable_if<__is_scalar<_Tp>::__value, void>::__type
>       |                                            ^~
> /usr/include/c++/11/bits/stl_algobase.h:918:44: error: explicit qualification in declaration of ‘__value’
> /usr/include/c++/11/bits/stl_algobase.h:918:46: error: redeclaration of ‘template<class _ForwardIterator, class _Tp> int __value’
>   918 |     __gnu_cxx::__enable_if<__is_scalar<_Tp>::__value, void>::__type
>       |                                              ^~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:457:54: note: previous declaration ‘template<bool _IsMove, class _CharT> int __value<_IsMove, _CharT>’
>   457 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                      ^~
> /usr/include/c++/11/bits/stl_algobase.h:918:53: error: expected ‘;’ before ‘,’ token
>   918 |     __gnu_cxx::__enable_if<__is_scalar<_Tp>::__value, void>::__type
>       |                                                     ^
>       |                                                     ;
> /usr/include/c++/11/bits/stl_algobase.h:931:28: error: ‘__is_byte’ was not declared in this scope; did you mean ‘std::__is_byte’?
>   931 |     __gnu_cxx::__enable_if<__is_byte<_Tp>::__value, void>::__type
>       |                            ^~~~~~~~~
>       |                            std::__is_byte
> In file included from /usr/include/c++/11/cmath:42,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/cpp_type_traits.h:376:12: note: ‘std::__is_byte’ declared here
>   376 |     struct __is_byte
>       |            ^~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:931:41: error: wrong number of template arguments (1, should be 2)
>   931 |     __gnu_cxx::__enable_if<__is_byte<_Tp>::__value, void>::__type
>       |                                         ^
> In file included from /usr/include/c++/11/cmath:43,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/ext/type_traits.h:45:12: note: provided for ‘template<bool <anonymous>, class> struct __gnu_cxx::__enable_if’
>    45 |     struct __enable_if
>       |            ^~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:931:42: error: expected identifier before ‘::’ token
>   931 |     __gnu_cxx::__enable_if<__is_byte<_Tp>::__value, void>::__type
>       |                                          ^~
> /usr/include/c++/11/bits/stl_algobase.h:931:42: error: explicit qualification in declaration of ‘__value’
> /usr/include/c++/11/bits/stl_algobase.h:931:44: error: redeclaration of ‘template<class _Tp> int __value’
>   931 |     __gnu_cxx::__enable_if<__is_byte<_Tp>::__value, void>::__type
>       |                                            ^~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:457:54: note: previous declaration ‘template<bool _IsMove, class _CharT> int __value<_IsMove, _CharT>’
>   457 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                      ^~
> /usr/include/c++/11/bits/stl_algobase.h:931:51: error: expected ‘;’ before ‘,’ token
>   931 |     __gnu_cxx::__enable_if<__is_byte<_Tp>::__value, void>::__type
>       |                                                   ^
>       |                                                   ;
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘void __fill_a1(__gnu_cxx::__normal_iterator<_Iterator, _Container>, __gnu_cxx::__normal_iterator<_Iterator, _Container>, const _Tp&)’:
> /usr/include/c++/11/bits/stl_algobase.h:953:12: error: ‘__fill_a1’ is not a member of ‘std’; did you mean ‘__fill_a1’?
>   953 |     { std::__fill_a1(__first.base(), __last.base(), __value); }
>       |            ^~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:950:5: note: ‘__fill_a1’ declared here
>   950 |     __fill_a1(::__gnu_cxx::__normal_iterator<_Ite, _Cont> __first,
>       |     ^~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h: At global scope:
> /usr/include/c++/11/bits/stl_algobase.h:957:37: error: ‘_Deque_iterator’ in namespace ‘std’ does not name a template type; did you mean ‘reverse_iterator’?
>   957 |     __fill_a1(const _GLIBCXX_STD_C::_Deque_iterator<_Tp, _Tp&, _Tp*>&,
>       |                                     ^~~~~~~~~~~~~~~
>       |                                     reverse_iterator
> /usr/include/c++/11/bits/stl_algobase.h:957:52: error: expected ‘,’ or ‘...’ before ‘<’ token
>   957 |     __fill_a1(const _GLIBCXX_STD_C::_Deque_iterator<_Tp, _Tp&, _Tp*>&,
>       |                                                    ^
> /usr/include/c++/11/bits/stl_algobase.h:962:3: error: variable or field ‘__fill_a1’ declared void
>   962 |   __fill_a1(_GLIBCXX_STD_C::_Bit_iterator, _GLIBCXX_STD_C::_Bit_iterator,
>       |   ^~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:495:31: error: ‘_Category’ was not declared in this scope
>   495 |                               _Category>::__copy_m(__first, __last, __result);
>       |                               ^~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:962:29: error: ‘_Bit_iterator’ is not a member of ‘std’; did you mean ‘_List_iterator’?
>   962 |   __fill_a1(_GLIBCXX_STD_C::_Bit_iterator, _GLIBCXX_STD_C::_Bit_iterator,
>       |                             ^~~~~~~~~~~~~
>       |                             _List_iterator
> /usr/include/c++/11/bits/stl_algobase.h:962:60: error: ‘_Bit_iterator’ is not a member of ‘std’; did you mean ‘_List_iterator’?
>   962 |   __fill_a1(_GLIBCXX_STD_C::_Bit_iterator, _GLIBCXX_STD_C::_Bit_iterator,
>       |                                                            ^~~~~~~~~~~~~
>       |                                                            _List_iterator
> /usr/include/c++/11/bits/stl_algobase.h:963:13: error: expected primary-expression before ‘const’
>   963 |             const bool&);
>       |             ^~~~~
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘void __fill_a(_FIte, _FIte, const _Tp&)’:
> /usr/include/c++/11/bits/stl_algobase.h:969:12: error: ‘__fill_a1’ is not a member of ‘std’; did you mean ‘__fill_a1’?
>   969 |     { std::__fill_a1(__first, __last, __value); }
>       |            ^~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:957:5: note: ‘__fill_a1’ declared here
>   957 |     __fill_a1(const _GLIBCXX_STD_C::_Deque_iterator<_Tp, _Tp&, _Tp*>&,
>       |     ^~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘void fill(_ForwardIterator, _ForwardIterator, const _Tp&)’:
> /usr/include/c++/11/bits/stl_algobase.h:999:12: error: ‘__fill_a’ is not a member of ‘std’; did you mean ‘__fill_a’?
>   999 |       std::__fill_a(__first, __last, __value);
>       |            ^~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:973:5: note: ‘__fill_a’ declared here
>   973 |     __fill_a(const ::__gnu_debug::_Safe_iterator<_Ite, _Seq, _Cat>&,
>       |     ^~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h: At global scope:
> /usr/include/c++/11/bits/stl_algobase.h:1055:29: error: ‘__is_scalar’ was not declared in this scope; did you mean ‘std::__is_scalar’?
>  1055 |     __gnu_cxx::__enable_if<!__is_scalar<_Tp>::__value, _OutputIterator>::__type
>       |                             ^~~~~~~~~~~
>       |                             std::__is_scalar
> In file included from /usr/include/c++/11/cmath:42,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/cpp_type_traits.h:345:12: note: ‘std::__is_scalar’ declared here
>   345 |     struct __is_scalar
>       |            ^~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:1055:44: error: wrong number of template arguments (1, should be 2)
>  1055 |     __gnu_cxx::__enable_if<!__is_scalar<_Tp>::__value, _OutputIterator>::__type
>       |                                            ^
> In file included from /usr/include/c++/11/cmath:43,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/ext/type_traits.h:45:12: note: provided for ‘template<bool <anonymous>, class> struct __gnu_cxx::__enable_if’
>    45 |     struct __enable_if
>       |            ^~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:1055:45: error: expected identifier before ‘::’ token
>  1055 |     __gnu_cxx::__enable_if<!__is_scalar<_Tp>::__value, _OutputIterator>::__type
>       |                                             ^~
> /usr/include/c++/11/bits/stl_algobase.h:1055:45: error: explicit qualification in declaration of ‘__value’
> /usr/include/c++/11/bits/stl_algobase.h:1055:47: error: redeclaration of ‘template<class _OutputIterator, class _Size, class _Tp> int __value’
>  1055 |     __gnu_cxx::__enable_if<!__is_scalar<_Tp>::__value, _OutputIterator>::__type
>       |                                               ^~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:457:54: note: previous declaration ‘template<bool _IsMove, class _CharT> int __value<_IsMove, _CharT>’
>   457 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                      ^~
> /usr/include/c++/11/bits/stl_algobase.h:1055:54: error: expected ‘;’ before ‘,’ token
>  1055 |     __gnu_cxx::__enable_if<!__is_scalar<_Tp>::__value, _OutputIterator>::__type
>       |                                                      ^
>       |                                                      ;
> /usr/include/c++/11/bits/stl_algobase.h:495:43: error: ‘::__copy_m’ has not been declared; did you mean ‘__copy_move’?
>   495 |                               _Category>::__copy_m(__first, __last, __result);
>       |                                           ^~~~~~~~
>       |                                           __copy_move
> /usr/include/c++/11/bits/stl_algobase.h:1066:28: error: ‘__is_scalar’ was not declared in this scope; did you mean ‘std::__is_scalar’?
>  1066 |     __gnu_cxx::__enable_if<__is_scalar<_Tp>::__value, _OutputIterator>::__type
>       |                            ^~~~~~~~~~~
>       |                            std::__is_scalar
> In file included from /usr/include/c++/11/cmath:42,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/cpp_type_traits.h:345:12: note: ‘std::__is_scalar’ declared here
>   345 |     struct __is_scalar
>       |            ^~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:1066:43: error: wrong number of template arguments (1, should be 2)
>  1066 |     __gnu_cxx::__enable_if<__is_scalar<_Tp>::__value, _OutputIterator>::__type
>       |                                           ^
> In file included from /usr/include/c++/11/cmath:43,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/ext/type_traits.h:45:12: note: provided for ‘template<bool <anonymous>, class> struct __gnu_cxx::__enable_if’
>    45 |     struct __enable_if
>       |            ^~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:1066:44: error: expected identifier before ‘::’ token
>  1066 |     __gnu_cxx::__enable_if<__is_scalar<_Tp>::__value, _OutputIterator>::__type
>       |                                            ^~
> /usr/include/c++/11/bits/stl_algobase.h:1066:44: error: explicit qualification in declaration of ‘__value’
> /usr/include/c++/11/bits/stl_algobase.h:1066:46: error: redeclaration of ‘template<class _OutputIterator, class _Size, class _Tp> int __value’
>  1066 |     __gnu_cxx::__enable_if<__is_scalar<_Tp>::__value, _OutputIterator>::__type
>       |                                              ^~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:457:54: note: previous declaration ‘template<bool _IsMove, class _CharT> int __value<_IsMove, _CharT>’
>   457 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                      ^~
> /usr/include/c++/11/bits/stl_algobase.h:1066:53: error: expected ‘;’ before ‘,’ token
>  1066 |     __gnu_cxx::__enable_if<__is_scalar<_Tp>::__value, _OutputIterator>::__type
>       |                                                     ^
>       |                                                     ;
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘_OutputIterator __fill_n_a(_OutputIterator, _Size, const _Tp&, std::output_iterator_tag)’:
> /usr/include/c++/11/bits/stl_algobase.h:1089:21: error: ‘is_integral’ was not declared in this scope; did you mean ‘std::is_integral’?
>  1089 |       static_assert(is_integral<_Size>{}, "fill_n must pass integral size");
>       |                     ^~~~~~~~~~~
>       |                     std::is_integral
> In file included from /usr/include/c++/11/bits/move.h:57,
>                  from /usr/include/c++/11/bits/stl_pair.h:59,
>                  from /usr/include/c++/11/bits/stl_algobase.h:64,
>                  from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/type_traits:392:12: note: ‘std::is_integral’ declared here
>   392 |     struct is_integral
>       |            ^~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:1089:38: error: expected primary-expression before ‘>’ token
>  1089 |       static_assert(is_integral<_Size>{}, "fill_n must pass integral size");
>       |                                      ^
> /usr/include/c++/11/bits/stl_algobase.h:1089:39: error: expected primary-expression before ‘{’ token
>  1089 |       static_assert(is_integral<_Size>{}, "fill_n must pass integral size");
>       |                                       ^
> /usr/include/c++/11/bits/stl_algobase.h: At global scope:
> /usr/include/c++/11/bits/stl_algobase.h:501:36: error: ‘_Deque_iterator’ is not a member of ‘std’; did you mean ‘reverse_iterator’?
>   501 |     __copy_move_a1(_GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |                                    ^~~~~~~~~~~~~~~
>       |                                    reverse_iterator
> /usr/include/c++/11/bits/stl_algobase.h:1089:39: error: expected ‘,’ before ‘{’ token
>  1089 |       static_assert(is_integral<_Size>{}, "fill_n must pass integral size");
>       |                                       ^
>       |                                       ,
> /usr/include/c++/11/bits/stl_algobase.h:1089:39: error: expected string-literal before ‘{’ token
> /usr/include/c++/11/bits/stl_algobase.h:501:55: error: expected primary-expression before ‘,’ token
>   501 |     __copy_move_a1(_GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |                                                       ^
> /usr/include/c++/11/bits/stl_algobase.h:501:61: error: expected primary-expression before ‘,’ token
>   501 |     __copy_move_a1(_GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |                                                             ^
> /usr/include/c++/11/bits/stl_algobase.h:501:67: error: expected primary-expression before ‘>’ token
>   501 |     __copy_move_a1(_GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |                                                                   ^
> /usr/include/c++/11/bits/stl_algobase.h:1089:39: error: expected ‘)’ before ‘{’ token
>  1089 |       static_assert(is_integral<_Size>{}, "fill_n must pass integral size");
>       |                    ~                  ^
>       |                                       )
> /usr/include/c++/11/bits/stl_algobase.h:501:68: error: expected primary-expression before ‘,’ token
>   501 |     __copy_move_a1(_GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |                                                                    ^
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘_OutputIterator __fill_n_a(_OutputIterator, _Size, const _Tp&, std::input_iterator_tag)’:
> /usr/include/c++/11/bits/stl_algobase.h:1101:21: error: ‘is_integral’ was not declared in this scope; did you mean ‘std::is_integral’?
>  1101 |       static_assert(is_integral<_Size>{}, "fill_n must pass integral size");
>       |                     ^~~~~~~~~~~
>       |                     std::is_integral
> In file included from /usr/include/c++/11/bits/move.h:57,
>                  from /usr/include/c++/11/bits/stl_pair.h:59,
>                  from /usr/include/c++/11/bits/stl_algobase.h:64,
>                  from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/type_traits:392:12: note: ‘std::is_integral’ declared here
>   392 |     struct is_integral
>       |            ^~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:1101:38: error: expected primary-expression before ‘>’ token
>  1101 |       static_assert(is_integral<_Size>{}, "fill_n must pass integral size");
>       |                                      ^
> /usr/include/c++/11/bits/stl_algobase.h:1101:39: error: expected primary-expression before ‘{’ token
>  1101 |       static_assert(is_integral<_Size>{}, "fill_n must pass integral size");
>       |                                       ^
> /usr/include/c++/11/bits/stl_algobase.h:1101:39: error: expected ‘,’ before ‘{’ token
>  1101 |       static_assert(is_integral<_Size>{}, "fill_n must pass integral size");
>       |                                       ^
>       |                                       ,
> /usr/include/c++/11/bits/stl_algobase.h:1101:39: error: expected string-literal before ‘{’ token
> /usr/include/c++/11/bits/stl_algobase.h:1101:39: error: expected ‘)’ before ‘{’ token
>  1101 |       static_assert(is_integral<_Size>{}, "fill_n must pass integral size");
>       |                    ~                  ^
>       |                                       )
> /usr/include/c++/11/bits/stl_algobase.h:502:36: error: ‘_Deque_iterator’ is not a member of ‘std’; did you mean ‘reverse_iterator’?
>   502 |                    _GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |                                    ^~~~~~~~~~~~~~~
>       |                                    reverse_iterator
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘_OutputIterator __fill_n_a(_OutputIterator, _Size, const _Tp&, std::random_access_iterator_tag)’:
> /usr/include/c++/11/bits/stl_algobase.h:1113:21: error: ‘is_integral’ was not declared in this scope; did you mean ‘std::is_integral’?
>  1113 |       static_assert(is_integral<_Size>{}, "fill_n must pass integral size");
>       |                     ^~~~~~~~~~~
>       |                     std::is_integral
> In file included from /usr/include/c++/11/bits/move.h:57,
>                  from /usr/include/c++/11/bits/stl_pair.h:59,
>                  from /usr/include/c++/11/bits/stl_algobase.h:64,
>                  from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/type_traits:392:12: note: ‘std::is_integral’ declared here
>   392 |     struct is_integral
>       |            ^~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:1113:38: error: expected primary-expression before ‘>’ token
>  1113 |       static_assert(is_integral<_Size>{}, "fill_n must pass integral size");
>       |                                      ^
> /usr/include/c++/11/bits/stl_algobase.h:1113:39: error: expected primary-expression before ‘{’ token
>  1113 |       static_assert(is_integral<_Size>{}, "fill_n must pass integral size");
>       |                                       ^
> /usr/include/c++/11/bits/stl_algobase.h:502:55: error: expected primary-expression before ‘,’ token
>   502 |                    _GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |                                                       ^
> /usr/include/c++/11/bits/stl_algobase.h:502:61: error: expected primary-expression before ‘,’ token
>   502 |                    _GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |                                                             ^
> /usr/include/c++/11/bits/stl_algobase.h:1113:39: error: expected ‘,’ before ‘{’ token
>  1113 |       static_assert(is_integral<_Size>{}, "fill_n must pass integral size");
>       |                                       ^
>       |                                       ,
> /usr/include/c++/11/bits/stl_algobase.h:1113:39: error: expected string-literal before ‘{’ token
> /usr/include/c++/11/bits/stl_algobase.h:502:67: error: expected primary-expression before ‘>’ token
>   502 |                    _GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |                                                                   ^
> /usr/include/c++/11/bits/stl_algobase.h:502:68: error: expected primary-expression before ‘,’ token
>   502 |                    _GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |                                                                    ^
> /usr/include/c++/11/bits/stl_algobase.h:1113:39: error: expected ‘)’ before ‘{’ token
>  1113 |       static_assert(is_integral<_Size>{}, "fill_n must pass integral size");
>       |                    ~                  ^
>       |                                       )
> /usr/include/c++/11/bits/stl_algobase.h:503:23: error: expected primary-expression before ‘)’ token
>   503 |                    _OI);
>       |                       ^
> /usr/include/c++/11/bits/stl_algobase.h:1120:12: error: ‘__fill_a’ is not a member of ‘std’; did you mean ‘__fill_a’?
>  1120 |       std::__fill_a(__first, __first + __n, __value);
>       |            ^~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:973:5: note: ‘__fill_a’ declared here
>   973 |     __fill_a(const ::__gnu_debug::_Safe_iterator<_Ite, _Seq, _Cat>&,
>       |     ^~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:507:21: error: ‘_Deque_iterator’ in namespace ‘std’ does not name a template type; did you mean ‘reverse_iterator’?
>   507 |     _GLIBCXX_STD_C::_Deque_iterator<_OTp, _OTp&, _OTp*>
>       |                     ^~~~~~~~~~~~~~~
>       |                     reverse_iterator
> /usr/include/c++/11/bits/stl_algobase.h:514:7: error: ‘__is_random_access_iter’ was not declared in this scope; did you mean ‘std::__is_random_access_iter’?
>   514 |       __is_random_access_iter<_II>::__value,
>       |       ^~~~~~~~~~~~~~~~~~~~~~~
>       |       std::__is_random_access_iter
> In file included from /usr/include/c++/11/bits/stl_algobase.h:65,
>                  from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_iterator_base_types.h:255:12: note: ‘std::__is_random_access_iter’ declared here
>   255 |     struct __is_random_access_iter
>       |            ^~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘_OI fill_n(_OI, _Size, const _Tp&)’:
> /usr/include/c++/11/bits/stl_algobase.h:1149:19: error: ‘__fill_n_a’ is not a member of ‘std’; did you mean ‘__fill_n_a’?
>  1149 |       return std::__fill_n_a(__first, std::__size_to_integer(__n), __value,
>       |                   ^~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1109:5: note: ‘__fill_n_a’ declared here
>  1109 |     __fill_n_a(_OutputIterator __first, _Size __n, const _Tp& __value,
>       |     ^~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:514:34: error: wrong number of template arguments (1, should be 2)
>   514 |       __is_random_access_iter<_II>::__value,
>       |                                  ^
> In file included from /usr/include/c++/11/cmath:43,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/ext/type_traits.h:45:12: note: provided for ‘template<bool <anonymous>, class> struct __gnu_cxx::__enable_if’
>    45 |     struct __enable_if
>       |            ^~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:514:35: error: expected identifier before ‘::’ token
>   514 |       __is_random_access_iter<_II>::__value,
>       |                                   ^~
> /usr/include/c++/11/bits/stl_algobase.h:514:35: error: explicit qualification in declaration of ‘__value’
> /usr/include/c++/11/bits/stl_algobase.h:514:37: error: redeclaration of ‘template<bool _IsMove, class _II, class _Tp> int __value’
>   514 |       __is_random_access_iter<_II>::__value,
>       |                                     ^~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:457:54: note: previous declaration ‘template<bool _IsMove, class _CharT> int __value<_IsMove, _CharT>’
>   457 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                      ^~
> /usr/include/c++/11/bits/stl_algobase.h:514:44: error: expected ‘;’ before ‘,’ token
>   514 |       __is_random_access_iter<_II>::__value,
>       |                                            ^
>       |                                            ;
> /usr/include/c++/11/bits/stl_algobase.h:1149:44: error: ‘__size_to_integer’ is not a member of ‘std’; did you mean ‘__is_integer’?
>  1149 |       return std::__fill_n_a(__first, std::__size_to_integer(__n), __value,
>       |                                            ^~~~~~~~~~~~~~~~~
>       |                                            __is_integer
> /usr/include/c++/11/bits/stl_algobase.h:521:57: error: ‘template<bool _IsMove, class _II, class _OI> _OI __copy_move_a1(_II, _II, _OI)’ conflicts with a previous declaration
>   521 |     __copy_move_a1(_II __first, _II __last, _OI __result)
>       |                                                         ^
> /usr/include/c++/11/bits/stl_algobase.h:501:5: note: previous declaration ‘template<bool _IsMove, class _Tp, class _Ref, class _Ptr, class _OI> _OI __copy_move_a1<_IsMove, _Tp, _Ref, _Ptr, _OI>’
>   501 |     __copy_move_a1(_GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |     ^~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h: At global scope:
> /usr/include/c++/11/bits/stl_algobase.h:1184:7: error: ‘__is_random_access_iter’ was not declared in this scope; did you mean ‘std::__is_random_access_iter’?
>  1184 |       __is_random_access_iter<_II>::__value, bool>::__type
>       |       ^~~~~~~~~~~~~~~~~~~~~~~
>       |       std::__is_random_access_iter
> In file included from /usr/include/c++/11/bits/stl_algobase.h:65,
>                  from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_iterator_base_types.h:255:12: note: ‘std::__is_random_access_iter’ declared here
>   255 |     struct __is_random_access_iter
>       |            ^~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:1184:34: error: wrong number of template arguments (1, should be 2)
>  1184 |       __is_random_access_iter<_II>::__value, bool>::__type
>       |                                  ^
> In file included from /usr/include/c++/11/cmath:43,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/ext/type_traits.h:45:12: note: provided for ‘template<bool <anonymous>, class> struct __gnu_cxx::__enable_if’
>    45 |     struct __enable_if
>       |            ^~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:1184:35: error: expected identifier before ‘::’ token
>  1184 |       __is_random_access_iter<_II>::__value, bool>::__type
>       |                                   ^~
> /usr/include/c++/11/bits/stl_algobase.h:1184:35: error: explicit qualification in declaration of ‘__value’
> /usr/include/c++/11/bits/stl_algobase.h:1184:37: error: redeclaration of ‘template<class _Tp, class _Ref, class _Ptr, class _II> int __value’
>  1184 |       __is_random_access_iter<_II>::__value, bool>::__type
>       |                                     ^~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:457:54: note: previous declaration ‘template<bool _IsMove, class _CharT> int __value<_IsMove, _CharT>’
>   457 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                      ^~
> /usr/include/c++/11/bits/stl_algobase.h:1184:44: error: expected ‘;’ before ‘,’ token
>  1184 |       __is_random_access_iter<_II>::__value, bool>::__type
>       |                                            ^
>       |                                            ;
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘_OI __copy_move_a1(_II, _II, _OI)’:
> /usr/include/c++/11/bits/stl_algobase.h:522:19: error: ‘__copy_move_a2’ is not a member of ‘std’; did you mean ‘__copy_move_a2’?
>   522 |     { return std::__copy_move_a2<_IsMove>(__first, __last, __result); }
>       |                   ^~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:486:5: note: ‘__copy_move_a2’ declared here
>   486 |     __copy_move_a2(_II __first, _II __last, _OI __result)
>       |     ^~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1192:34: error: ‘_Deque_iterator’ is not a member of ‘std’; did you mean ‘reverse_iterator’?
>  1192 |     __equal_aux1(_GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                  ^~~~~~~~~~~~~~~
>       |                                  reverse_iterator
> /usr/include/c++/11/bits/stl_algobase.h:1192:54: error: expected primary-expression before ‘,’ token
>  1192 |     __equal_aux1(_GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                                      ^
> /usr/include/c++/11/bits/stl_algobase.h:1192:61: error: expected primary-expression before ‘,’ token
>  1192 |     __equal_aux1(_GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                                             ^
> /usr/include/c++/11/bits/stl_algobase.h:1192:68: error: expected primary-expression before ‘>’ token
>  1192 |     __equal_aux1(_GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                                                    ^
> /usr/include/c++/11/bits/stl_algobase.h:1192:69: error: expected primary-expression before ‘,’ token
>  1192 |     __equal_aux1(_GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                                                     ^
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘_OI __copy_move_a(_II, _II, _OI)’:
> /usr/include/c++/11/bits/stl_algobase.h:529:19: error: ‘__niter_wrap’ is not a member of ‘std’; did you mean ‘__niter_base’?
>   529 |       return std::__niter_wrap(__result,
>       |                   ^~~~~~~~~~~~
>       |                   __niter_base
> /usr/include/c++/11/bits/stl_algobase.h:1193:34: error: ‘_Deque_iterator’ is not a member of ‘std’; did you mean ‘reverse_iterator’?
>  1193 |                  _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                  ^~~~~~~~~~~~~~~
>       |                                  reverse_iterator
> /usr/include/c++/11/bits/stl_algobase.h:1193:54: error: expected primary-expression before ‘,’ token
>  1193 |                  _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                                      ^
> /usr/include/c++/11/bits/stl_algobase.h:1193:61: error: expected primary-expression before ‘,’ token
>  1193 |                  _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                                             ^
> /usr/include/c++/11/bits/stl_algobase.h:1193:68: error: expected primary-expression before ‘>’ token
>  1193 |                  _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                                                    ^
> /usr/include/c++/11/bits/stl_algobase.h:530:22: error: ‘__copy_move_a1’ is not a member of ‘std’; did you mean ‘__copy_move_a1<_IsMove, _Tp, _Ref, _Ptr, _OI>’?
>   530 |                 std::__copy_move_a1<_IsMove>(std::__niter_base(__first),
>       |                      ^~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1193:69: error: expected primary-expression before ‘,’ token
>  1193 |                  _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                                                     ^
> /usr/include/c++/11/bits/stl_algobase.h:501:5: note: ‘__copy_move_a1<_IsMove, _Tp, _Ref, _Ptr, _OI>’ declared here
>   501 |     __copy_move_a1(_GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |     ^~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h: At global scope:
> /usr/include/c++/11/bits/stl_algobase.h:579:7: error: ‘__is_char’ was not declared in this scope; did you mean ‘std::__is_char’?
>   579 |       __is_char<_CharT>::__value, _CharT*>::__type
>       |       ^~~~~~~~~
>       |       std::__is_char
> In file included from /usr/include/c++/11/cmath:42,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/cpp_type_traits.h:353:12: note: ‘std::__is_char’ declared here
>   353 |     struct __is_char
>       |            ^~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1194:34: error: ‘_Deque_iterator’ is not a member of ‘std’; did you mean ‘reverse_iterator’?
>  1194 |                  _GLIBCXX_STD_C::_Deque_iterator<_Tp2, _Ref2, _Ptr2>);
>       |                                  ^~~~~~~~~~~~~~~
>       |                                  reverse_iterator
> /usr/include/c++/11/bits/stl_algobase.h:1194:54: error: expected primary-expression before ‘,’ token
>  1194 |                  _GLIBCXX_STD_C::_Deque_iterator<_Tp2, _Ref2, _Ptr2>);
>       |                                                      ^
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:579:23: error: wrong number of template arguments (1, should be 2)
>   579 |       __is_char<_CharT>::__value, _CharT*>::__type
>       |                       ^
> /usr/include/c++/11/bits/stl_algobase.h:1194:61: error: expected primary-expression before ‘,’ token
>  1194 |                  _GLIBCXX_STD_C::_Deque_iterator<_Tp2, _Ref2, _Ptr2>);
>       |                                                             ^
> /usr/include/c++/11/bits/stl_algobase.h:1194:68: error: expected primary-expression before ‘>’ token
>  1194 |                  _GLIBCXX_STD_C::_Deque_iterator<_Tp2, _Ref2, _Ptr2>);
>       |                                                                    ^
> In file included from /usr/include/c++/11/cmath:43,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/ext/type_traits.h:45:12: note: provided for ‘template<bool <anonymous>, class> struct __gnu_cxx::__enable_if’
>    45 |     struct __enable_if
>       |            ^~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1194:69: error: expected primary-expression before ‘)’ token
>  1194 |                  _GLIBCXX_STD_C::_Deque_iterator<_Tp2, _Ref2, _Ptr2>);
>       |                                                                     ^
> /usr/include/c++/11/bits/stl_algobase.h:1194:69: error: expression list treated as compound expression in initializer [-fpermissive]
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:579:24: error: expected identifier before ‘::’ token
>   579 |       __is_char<_CharT>::__value, _CharT*>::__type
>       |                        ^~
> /usr/include/c++/11/bits/stl_algobase.h:1198:7: error: ‘__is_random_access_iter’ was not declared in this scope; did you mean ‘std::__is_random_access_iter’?
>  1198 |       __is_random_access_iter<_II>::__value, bool>::__type
>       |       ^~~~~~~~~~~~~~~~~~~~~~~
>       |       std::__is_random_access_iter
> In file included from /usr/include/c++/11/bits/stl_algobase.h:65,
>                  from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_iterator_base_types.h:255:12: note: ‘std::__is_random_access_iter’ declared here
>   255 |     struct __is_random_access_iter
>       |            ^~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:1198:34: error: wrong number of template arguments (1, should be 2)
>  1198 |       __is_random_access_iter<_II>::__value, bool>::__type
>       |                                  ^
> /usr/include/c++/11/bits/stl_algobase.h:579:24: error: explicit qualification in declaration of ‘__value’
> In file included from /usr/include/c++/11/cmath:43,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/ext/type_traits.h:45:12: note: provided for ‘template<bool <anonymous>, class> struct __gnu_cxx::__enable_if’
>    45 |     struct __enable_if
>       |            ^~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:1198:35: error: expected identifier before ‘::’ token
>  1198 |       __is_random_access_iter<_II>::__value, bool>::__type
>       |                                   ^~
> /usr/include/c++/11/bits/stl_algobase.h:1198:35: error: explicit qualification in declaration of ‘__value’
> /usr/include/c++/11/bits/stl_algobase.h:1198:37: error: redeclaration of ‘template<class _II, class _Tp, class _Ref, class _Ptr> int __value’
>  1198 |       __is_random_access_iter<_II>::__value, bool>::__type
>       |                                     ^~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:457:54: note: previous declaration ‘template<bool _IsMove, class _CharT> int __value<_IsMove, _CharT>’
>   457 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                      ^~
> /usr/include/c++/11/bits/stl_algobase.h:579:26: error: redeclaration of ‘template<class _CharT, class _Size> int __value’
>   579 |       __is_char<_CharT>::__value, _CharT*>::__type
>       |                          ^~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:457:54: note: previous declaration ‘template<bool _IsMove, class _CharT> int __value<_IsMove, _CharT>’
>   457 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                      ^~
> /usr/include/c++/11/bits/stl_algobase.h:1198:44: error: expected ‘;’ before ‘,’ token
>  1198 |       __is_random_access_iter<_II>::__value, bool>::__type
>       |                                            ^
>       |                                            ;
> /usr/include/c++/11/bits/stl_algobase.h:1205:60: error: ‘template<class _II1, class _II2> bool __equal_aux1(_II1, _II1, _II2)’ conflicts with a previous declaration
>  1205 |     __equal_aux1(_II1 __first1, _II1 __last1, _II2 __first2)
>       |                                                            ^
> /usr/include/c++/11/bits/stl_algobase.h:579:33: error: expected ‘;’ before ‘,’ token
>   579 |       __is_char<_CharT>::__value, _CharT*>::__type
>       |                                 ^
>       |                                 ;
> /usr/include/c++/11/bits/stl_algobase.h:1192:5: note: previous declaration ‘template<class _Tp1, class _Ref1, class _Ptr1, class _Tp2, class _Ref2, class _Ptr2> bool __equal_aux1<_Tp1, _Ref1, _Ptr1, _Tp2, _Ref2, _Ptr2>’
>  1192 |     __equal_aux1(_GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |     ^~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘bool __equal_aux1(_II1, _II1, _II2)’:
> /usr/include/c++/11/bits/stl_algobase.h:1207:24: error: expected nested-name-specifier before ‘iterator_traits’
>  1207 |       typedef typename iterator_traits<_II1>::value_type _ValueType1;
>       |                        ^~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1207:39: error: expected initializer before ‘<’ token
>  1207 |       typedef typename iterator_traits<_II1>::value_type _ValueType1;
>       |                                       ^
> /usr/include/c++/11/bits/stl_algobase.h:585:7: error: ‘__is_char’ was not declared in this scope; did you mean ‘std::__is_char’?
>   585 |       __is_char<_CharT>::__value,
>       |       ^~~~~~~~~
>       |       std::__is_char
> In file included from /usr/include/c++/11/cmath:42,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/cpp_type_traits.h:353:12: note: ‘std::__is_char’ declared here
>   353 |     struct __is_char
>       |            ^~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1208:31: error: ‘__is_integer’ was not declared in this scope; did you mean ‘std::__is_integer’?
>  1208 |       const bool __simple = ((__is_integer<_ValueType1>::__value
>       |                               ^~~~~~~~~~~~
>       |                               std::__is_integer
> In file included from /usr/include/c++/11/cmath:42,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/cpp_type_traits.h:127:12: note: ‘std::__is_integer’ declared here
>   127 |     struct __is_integer
>       |            ^~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:585:23: error: wrong number of template arguments (1, should be 2)
>   585 |       __is_char<_CharT>::__value,
>       |                       ^
> In file included from /usr/include/c++/11/cmath:43,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/ext/type_traits.h:45:12: note: provided for ‘template<bool <anonymous>, class> struct __gnu_cxx::__enable_if’
>    45 |     struct __enable_if
>       |            ^~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:585:24: error: expected identifier before ‘::’ token
>   585 |       __is_char<_CharT>::__value,
>       |                        ^~
> /usr/include/c++/11/bits/stl_algobase.h:585:24: error: explicit qualification in declaration of ‘__value’
> /usr/include/c++/11/bits/stl_algobase.h:585:26: error: redeclaration of ‘template<class _CharT, class _Size> int __value’
>   585 |       __is_char<_CharT>::__value,
>       |                          ^~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:457:54: note: previous declaration ‘template<bool _IsMove, class _CharT> int __value<_IsMove, _CharT>’
>   457 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                      ^~
> /usr/include/c++/11/bits/stl_algobase.h:585:33: error: expected ‘;’ before ‘,’ token
>   585 |       __is_char<_CharT>::__value,
>       |                                 ^
>       |                                 ;
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘_OI copy(_II, _II, _OI)’:
> /usr/include/c++/11/bits/stl_algobase.h:619:19: error: ‘__copy_move_a’ is not a member of ‘std’; did you mean ‘__copy_move_a’?
>   619 |       return std::__copy_move_a<__is_move_iterator<_II>::__value>
>       |                   ^~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:552:5: note: ‘__copy_move_a’ declared here
>   552 |     __copy_move_a(const ::__gnu_debug::_Safe_iterator<_IIte, _ISeq, _ICat>&,
>       |     ^~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:619:33: error: ‘__is_move_iterator’ was not declared in this scope; did you mean ‘std::__is_move_iterator’?
>   619 |       return std::__copy_move_a<__is_move_iterator<_II>::__value>
>       |                                 ^~~~~~~~~~~~~~~~~~
>       |                                 std::__is_move_iterator
> In file included from /usr/include/c++/11/cmath:42,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/cpp_type_traits.h:549:12: note: ‘std::__is_move_iterator’ declared here
>   549 |     struct __is_move_iterator
>       |            ^~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:619:55: error: expected primary-expression before ‘>’ token
>   619 |       return std::__copy_move_a<__is_move_iterator<_II>::__value>
>       |                                                       ^
> /usr/include/c++/11/bits/stl_algobase.h:619:65: error: missing template arguments before ‘>’ token
>   619 |       return std::__copy_move_a<__is_move_iterator<_II>::__value>
>       |                                                                 ^
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘_OI move(_II, _II, _OI)’:
> /usr/include/c++/11/bits/stl_algobase.h:652:19: error: ‘__copy_move_a’ is not a member of ‘std’; did you mean ‘__copy_move_a’?
>   652 |       return std::__copy_move_a<true>(std::__miter_base(__first),
>       |                   ^~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:552:5: note: ‘__copy_move_a’ declared here
>   552 |     __copy_move_a(const ::__gnu_debug::_Safe_iterator<_IIte, _ISeq, _ICat>&,
>       |     ^~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h: At global scope:
> /usr/include/c++/11/bits/stl_algobase.h:692:47: error: ‘random_access_iterator_tag’ was not declared in this scope; did you mean ‘std::random_access_iterator_tag’?
>   692 |     struct __copy_move_backward<false, false, random_access_iterator_tag>
>       |                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                                               std::random_access_iterator_tag
> In file included from /usr/include/c++/11/bits/stl_algobase.h:65,
>                  from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_iterator_base_types.h:107:10: note: ‘std::random_access_iterator_tag’ declared here
>   107 |   struct random_access_iterator_tag : public bidirectional_iterator_tag { };
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:1208:44: error: ‘_ValueType1’ was not declared in this scope
>  1208 |       const bool __simple = ((__is_integer<_ValueType1>::__value
>       |                                            ^~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1209:31: error: missing template arguments before ‘||’ token
>  1209 |                               || __is_pointer<_ValueType1>::__value)
>       |                               ^~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:692:73: error: template argument 3 is invalid
>   692 |     struct __copy_move_backward<false, false, random_access_iterator_tag>
>       |                                                                         ^
> /usr/include/c++/11/bits/stl_algobase.h:1209:34: error: ‘__is_pointer’ was not declared in this scope; did you mean ‘std::__is_pointer’?
>  1209 |                               || __is_pointer<_ValueType1>::__value)
>       |                                  ^~~~~~~~~~~~
>       |                                  std::__is_pointer
> In file included from /usr/include/c++/11/cmath:42,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/cpp_type_traits.h:320:12: note: ‘std::__is_pointer’ declared here
>   320 |     struct __is_pointer
>       |            ^~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:1209:68: error: missing template arguments before ‘)’ token
>  1209 |                               || __is_pointer<_ValueType1>::__value)
>       |                                                                    ^
> /usr/include/c++/11/bits/stl_algobase.h:709:46: error: ‘random_access_iterator_tag’ was not declared in this scope; did you mean ‘std::random_access_iterator_tag’?
>   709 |     struct __copy_move_backward<true, false, random_access_iterator_tag>
>       |                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                                              std::random_access_iterator_tag
> /usr/include/c++/11/bits/stl_algobase.h:1210:33: error: ‘__memcmpable’ was not declared in this scope; did you mean ‘std::__memcmpable’?
>  1210 |                              && __memcmpable<_II1, _II2>::__value);
>       |                                 ^~~~~~~~~~~~
>       |                                 std::__memcmpable
> In file included from /usr/include/c++/11/cmath:42,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/cpp_type_traits.h:464:12: note: ‘std::__memcmpable’ declared here
>   464 |     struct __memcmpable
>       |            ^~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/stl_algobase.h:65,
>                  from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_iterator_base_types.h:107:10: note: ‘std::random_access_iterator_tag’ declared here
>   107 |   struct random_access_iterator_tag : public bidirectional_iterator_tag { };
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:1210:50: error: expected primary-expression before ‘,’ token
>  1210 |                              && __memcmpable<_II1, _II2>::__value);
>       |                                                  ^
> /usr/include/c++/11/bits/stl_algobase.h:1210:56: error: expected primary-expression before ‘>’ token
>  1210 |                              && __memcmpable<_II1, _II2>::__value);
>       |                                                        ^
> /usr/include/c++/11/bits/stl_algobase.h:1210:66: error: missing template arguments before ‘)’ token
>  1210 |                              && __memcmpable<_II1, _II2>::__value);
>       |                                                                  ^
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:709:72: error: template argument 3 is invalid
>   709 |     struct __copy_move_backward<true, false, random_access_iterator_tag>
>       |                                                                        ^
> /usr/include/c++/11/bits/stl_algobase.h:1211:19: error: ‘__equal’ is not a member of ‘std’; did you mean ‘__equal’?
>  1211 |       return std::__equal<__simple>::equal(__first1, __last1, __first2);
>       |                   ^~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:726:48: error: ‘random_access_iterator_tag’ was not declared in this scope; did you mean ‘std::random_access_iterator_tag’?
>   726 |     struct __copy_move_backward<_IsMove, true, random_access_iterator_tag>
>       |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                                                std::random_access_iterator_tag
> /usr/include/c++/11/bits/stl_algobase.h:1154:12: note: ‘__equal’ declared here
>  1154 |     struct __equal
>       |            ^~~~~~~
> In file included from /usr/include/c++/11/bits/stl_algobase.h:65,
>                  from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_iterator_base_types.h:107:10: note: ‘std::random_access_iterator_tag’ declared here
>   107 |   struct random_access_iterator_tag : public bidirectional_iterator_tag { };
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:726:74: error: template argument 3 is invalid
>   726 |     struct __copy_move_backward<_IsMove, true, random_access_iterator_tag>
>       |                                                                          ^
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘_BI2 __copy_move_backward_a2(_BI1, _BI1, _BI2)’:
> /usr/include/c++/11/bits/stl_algobase.h:752:24: error: expected nested-name-specifier before ‘iterator_traits’
>   752 |       typedef typename iterator_traits<_BI1>::iterator_category _Category;
>       |                        ^~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:752:39: error: expected initializer before ‘<’ token
>   752 |       typedef typename iterator_traits<_BI1>::iterator_category _Category;
>       |                                       ^
> /usr/include/c++/11/bits/stl_algobase.h:1211:38: error: ‘::equal’ has not been declared
>  1211 |       return std::__equal<__simple>::equal(__first1, __last1, __first2);
>       |                                      ^~~~~
> /usr/include/c++/11/bits/stl_algobase.h:758:19: error: ‘__copy_move_backward’ is not a member of ‘std’; did you mean ‘__copy_move_backward’?
>   758 |       return std::__copy_move_backward<_IsMove,
>       |                   ^~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:662:12: note: ‘__copy_move_backward’ declared here
>   662 |     struct __copy_move_backward
>       |            ^~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:759:40: error: ‘__memcpyable’ was not declared in this scope; did you mean ‘std::__memcpyable’?
>   759 |                                        __memcpyable<_BI2, _BI1>::__value,
>       |                                        ^~~~~~~~~~~~
>       |                                        std::__memcpyable
> In file included from /usr/include/c++/11/cmath:42,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/cpp_type_traits.h:443:12: note: ‘std::__memcpyable’ declared here
>   443 |     struct __memcpyable
>       |            ^~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘bool __equal_aux(_II1, _II1, _II2)’:
> /usr/include/c++/11/bits/stl_algobase.h:1219:19: error: ‘__equal_aux1’ is not a member of ‘std’; did you mean ‘__equal_aux1<_Tp1, _Ref1, _Ptr1, _Tp2, _Ref2, _Ptr2>’?
>  1219 |       return std::__equal_aux1(std::__niter_base(__first1),
>       |                   ^~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:759:57: error: expected primary-expression before ‘,’ token
>   759 |                                        __memcpyable<_BI2, _BI1>::__value,
>       |                                                         ^
> /usr/include/c++/11/bits/stl_algobase.h:1192:5: note: ‘__equal_aux1<_Tp1, _Ref1, _Ptr1, _Tp2, _Ref2, _Ptr2>’ declared here
>  1192 |     __equal_aux1(_GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |     ^~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:759:63: error: expected primary-expression before ‘>’ token
>   759 |                                        __memcpyable<_BI2, _BI1>::__value,
>       |                                                               ^
> /usr/include/c++/11/bits/stl_algobase.h:759:73: error: missing template arguments before ‘,’ token
>   759 |                                        __memcpyable<_BI2, _BI1>::__value,
>       |                                                                         ^
> /usr/include/c++/11/bits/stl_algobase.h: At global scope:
> /usr/include/c++/11/bits/stl_algobase.h:1259:21: error: ‘random_access_iterator_tag’ was not declared in this scope; did you mean ‘std::random_access_iterator_tag’?
>  1259 |     struct __lc_rai<random_access_iterator_tag, random_access_iterator_tag>
>       |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                     std::random_access_iterator_tag
> In file included from /usr/include/c++/11/bits/stl_algobase.h:65,
>                  from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_iterator_base_types.h:107:10: note: ‘std::random_access_iterator_tag’ declared here
>   107 |   struct random_access_iterator_tag : public bidirectional_iterator_tag { };
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:1259:49: error: ‘random_access_iterator_tag’ was not declared in this scope; did you mean ‘std::random_access_iterator_tag’?
>  1259 |     struct __lc_rai<random_access_iterator_tag, random_access_iterator_tag>
>       |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                                                 std::random_access_iterator_tag
> In file included from /usr/include/c++/11/bits/stl_algobase.h:65,
>                  from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_iterator_base_types.h:107:10: note: ‘std::random_access_iterator_tag’ declared here
>   107 |   struct random_access_iterator_tag : public bidirectional_iterator_tag { };
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:1259:75: error: template argument 1 is invalid
>  1259 |     struct __lc_rai<random_access_iterator_tag, random_access_iterator_tag>
>       |                                                                           ^
> /usr/include/c++/11/bits/stl_algobase.h:1259:75: error: template argument 2 is invalid
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘bool __lexicographical_compare_impl(_II1, _II1, _II2, _II2, _Compare)’:
> /usr/include/c++/11/bits/stl_algobase.h:1287:24: error: expected nested-name-specifier before ‘iterator_traits’
>  1287 |       typedef typename iterator_traits<_II1>::iterator_category _Category1;
>       |                        ^~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1287:39: error: expected initializer before ‘<’ token
>  1287 |       typedef typename iterator_traits<_II1>::iterator_category _Category1;
>       |                                       ^
> /usr/include/c++/11/bits/stl_algobase.h:1288:24: error: expected nested-name-specifier before ‘iterator_traits’
>  1288 |       typedef typename iterator_traits<_II2>::iterator_category _Category2;
>       |                        ^~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1288:39: error: expected initializer before ‘<’ token
>  1288 |       typedef typename iterator_traits<_II2>::iterator_category _Category2;
>       |                                       ^
> /usr/include/c++/11/bits/stl_algobase.h:1289:20: error: ‘__lc_rai’ in namespace ‘std’ does not name a template type
>  1289 |       typedef std::__lc_rai<_Category1, _Category2> __rai_type;
>       |                    ^~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1291:17: error: ‘__rai_type’ has not been declared
>  1291 |       __last1 = __rai_type::__newlast1(__first1, __last1, __first2, __last2);
>       |                 ^~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1292:37: error: ‘__rai_type’ has not been declared
>  1292 |       for (; __first1 != __last1 && __rai_type::__cnd2(__first2, __last2);
>       |                                     ^~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h: In static member function ‘static bool __lexicographical_compare<_BoolType>::__lc(_II1, _II1, _II2, _II2)’:
> /usr/include/c++/11/bits/stl_algobase.h:1312:23: error: ‘__lexicographical_compare_impl’ is not a member of ‘std’; did you mean ‘__lexicographical_compare_impl’?
>  1312 |           return std::__lexicographical_compare_impl(__first1, __last1,
>       |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1283:5: note: ‘__lexicographical_compare_impl’ declared here
>  1283 |     __lexicographical_compare_impl(_II1 __first1, _II1 __last1,
>       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h: At global scope:
> /usr/include/c++/11/bits/stl_algobase.h:1349:16: error: ‘ptrdiff_t’ does not name a type
>  1349 |         static ptrdiff_t
>       |                ^~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:72:1: note: ‘ptrdiff_t’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?
>    71 | #include <bits/predefined_ops.h>
>   +++ |+#include <cstddef>
>    72 | #if __cplusplus >= 201103L
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘bool __lexicographical_compare_aux1(_II1, _II1, _II2, _II2)’:
> /usr/include/c++/11/bits/stl_algobase.h:1368:24: error: expected nested-name-specifier before ‘iterator_traits’
>  1368 |       typedef typename iterator_traits<_II1>::value_type _ValueType1;
>       |                        ^~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1368:39: error: expected initializer before ‘<’ token
>  1368 |       typedef typename iterator_traits<_II1>::value_type _ValueType1;
>       |                                       ^
> /usr/include/c++/11/bits/stl_algobase.h:1369:24: error: expected nested-name-specifier before ‘iterator_traits’
>  1369 |       typedef typename iterator_traits<_II2>::value_type _ValueType2;
>       |                        ^~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1369:39: error: expected initializer before ‘<’ token
>  1369 |       typedef typename iterator_traits<_II2>::value_type _ValueType2;
>       |                                       ^
> /usr/include/c++/11/bits/stl_algobase.h:1371:10: error: ‘__is_memcmp_ordered_with’ was not declared in this scope; did you mean ‘std::__is_memcmp_ordered_with’?
>  1371 |         (__is_memcmp_ordered_with<_ValueType1, _ValueType2>::__value
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~
>       |          std::__is_memcmp_ordered_with
> In file included from /usr/include/c++/11/cmath:42,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/cpp_type_traits.h:511:12: note: ‘std::__is_memcmp_ordered_with’ declared here
>   511 |     struct __is_memcmp_ordered_with
>       |            ^~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:760:40: error: ‘_Category’ was not declared in this scope
>   760 |                                        _Category>::__copy_move_b(__first,
>       |                                        ^~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:760:52: error: ‘::__copy_move_b’ has not been declared; did you mean ‘__copy_move_a’?
>   760 |                                        _Category>::__copy_move_b(__first,
>       |                                                    ^~~~~~~~~~~~~
>       |                                                    __copy_move_a
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:1371:35: error: ‘_ValueType1’ was not declared in this scope
>  1371 |         (__is_memcmp_ordered_with<_ValueType1, _ValueType2>::__value
>       |                                   ^~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘_BI2 __copy_move_backward_a1(_BI1, _BI1, _BI2)’:
> /usr/include/c++/11/bits/stl_algobase.h:769:19: error: ‘__copy_move_backward_a2’ is not a member of ‘std’; did you mean ‘__copy_move_backward_a2’?
>   769 |     { return std::__copy_move_backward_a2<_IsMove>(__first, __last, __result); }
>       |                   ^~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:750:5: note: ‘__copy_move_backward_a2’ declared here
>   750 |     __copy_move_backward_a2(_BI1 __first, _BI1 __last, _BI2 __result)
>       |     ^~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h: At global scope:
> /usr/include/c++/11/bits/stl_algobase.h:774:45: error: ‘template<bool _IsMove, class _Tp, class _Ref, class _Ptr, class _OI> _OI __copy_move_backward_a1’ conflicts with a previous declaration
>   774 |     __copy_move_backward_a1(_GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |                                             ^~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:768:5: note: previous declaration ‘_BI2 __copy_move_backward_a1(_BI1, _BI1, _BI2)’
>   768 |     __copy_move_backward_a1(_BI1 __first, _BI1 __last, _BI2 __result)
>       |     ^~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:774:45: error: ‘_Deque_iterator’ is not a member of ‘std’; did you mean ‘reverse_iterator’?
>   774 |     __copy_move_backward_a1(_GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |                                             ^~~~~~~~~~~~~~~
>       |                                             reverse_iterator
> /usr/include/c++/11/bits/stl_algobase.h:774:64: error: expected primary-expression before ‘,’ token
>   774 |     __copy_move_backward_a1(_GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |                                                                ^
> /usr/include/c++/11/bits/stl_algobase.h:774:70: error: expected primary-expression before ‘,’ token
>   774 |     __copy_move_backward_a1(_GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |                                                                      ^
> /usr/include/c++/11/bits/stl_algobase.h:774:76: error: expected primary-expression before ‘>’ token
>   774 |     __copy_move_backward_a1(_GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |                                                                            ^
> /usr/include/c++/11/bits/stl_algobase.h:774:77: error: expected primary-expression before ‘,’ token
>   774 |     __copy_move_backward_a1(_GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |                                                                             ^
> /usr/include/c++/11/bits/stl_algobase.h:775:45: error: ‘_Deque_iterator’ is not a member of ‘std’; did you mean ‘reverse_iterator’?
>   775 |                             _GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |                                             ^~~~~~~~~~~~~~~
>       |                                             reverse_iterator
> /usr/include/c++/11/bits/stl_algobase.h:775:64: error: expected primary-expression before ‘,’ token
>   775 |                             _GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |                                                                ^
> /usr/include/c++/11/bits/stl_algobase.h:775:70: error: expected primary-expression before ‘,’ token
>   775 |                             _GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |                                                                      ^
> /usr/include/c++/11/bits/stl_algobase.h:775:76: error: expected primary-expression before ‘>’ token
>   775 |                             _GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |                                                                            ^
> /usr/include/c++/11/bits/stl_algobase.h:775:77: error: expected primary-expression before ‘,’ token
>   775 |                             _GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
>       |                                                                             ^
> /usr/include/c++/11/bits/stl_algobase.h:776:32: error: expected primary-expression before ‘)’ token
>   776 |                             _OI);
>       |                                ^
> /usr/include/c++/11/bits/stl_algobase.h:1371:48: error: ‘_ValueType2’ was not declared in this scope
>  1371 |         (__is_memcmp_ordered_with<_ValueType1, _ValueType2>::__value
>       |                                                ^~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1372:10: error: missing template arguments before ‘&&’ token
>  1372 |          && __is_pointer<_II1>::__value
>       |          ^~
> /usr/include/c++/11/bits/stl_algobase.h:780:21: error: ‘_Deque_iterator’ in namespace ‘std’ does not name a template type; did you mean ‘reverse_iterator’?
>   780 |     _GLIBCXX_STD_C::_Deque_iterator<_OTp, _OTp&, _OTp*>
>       |                     ^~~~~~~~~~~~~~~
>       |                     reverse_iterator
> /usr/include/c++/11/bits/stl_algobase.h:1372:13: error: ‘__is_pointer’ was not declared in this scope; did you mean ‘std::__is_pointer’?
>  1372 |          && __is_pointer<_II1>::__value
>       |             ^~~~~~~~~~~~
>       |             std::__is_pointer
> In file included from /usr/include/c++/11/cmath:42,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/cpp_type_traits.h:320:12: note: ‘std::__is_pointer’ declared here
>   320 |     struct __is_pointer
>       |            ^~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:1372:30: error: expected primary-expression before ‘>’ token
>  1372 |          && __is_pointer<_II1>::__value
>       |                              ^
> /usr/include/c++/11/bits/stl_algobase.h:1373:10: error: missing template arguments before ‘&&’ token
>  1373 |          && __is_pointer<_II2>::__value
>       |          ^~
> /usr/include/c++/11/bits/stl_algobase.h:788:7: error: ‘__is_random_access_iter’ was not declared in this scope; did you mean ‘std::__is_random_access_iter’?
>   788 |       __is_random_access_iter<_II>::__value,
>       |       ^~~~~~~~~~~~~~~~~~~~~~~
>       |       std::__is_random_access_iter
> /usr/include/c++/11/bits/stl_algobase.h:1373:30: error: expected primary-expression before ‘>’ token
>  1373 |          && __is_pointer<_II2>::__value
>       |                              ^
> In file included from /usr/include/c++/11/bits/stl_algobase.h:65,
>                  from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_iterator_base_types.h:255:12: note: ‘std::__is_random_access_iter’ declared here
>   255 |     struct __is_random_access_iter
>       |            ^~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1381:10: error: missing template arguments before ‘)’ token
>  1381 |          );
>       |          ^
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:788:34: error: wrong number of template arguments (1, should be 2)
>   788 |       __is_random_access_iter<_II>::__value,
>       |                                  ^
> In file included from /usr/include/c++/11/cmath:43,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/ext/type_traits.h:45:12: note: provided for ‘template<bool <anonymous>, class> struct __gnu_cxx::__enable_if’
>    45 |     struct __enable_if
>       |            ^~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:788:35: error: expected identifier before ‘::’ token
>   788 |       __is_random_access_iter<_II>::__value,
>       |                                   ^~
> /usr/include/c++/11/bits/stl_algobase.h:788:35: error: explicit qualification in declaration of ‘__value’
> /usr/include/c++/11/bits/stl_algobase.h:788:37: error: redeclaration of ‘template<bool _IsMove, class _II, class _Tp> int __value’
>   788 |       __is_random_access_iter<_II>::__value,
>       |                                     ^~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:457:54: note: previous declaration ‘template<bool _IsMove, class _CharT> int __value<_IsMove, _CharT>’
>   457 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                      ^~
> /usr/include/c++/11/bits/stl_algobase.h:788:44: error: expected ‘;’ before ‘,’ token
>   788 |       __is_random_access_iter<_II>::__value,
>       |                                            ^
>       |                                            ;
> /usr/include/c++/11/bits/stl_algobase.h:1383:19: error: ‘__lexicographical_compare’ is not a member of ‘std’; did you mean ‘__lexicographical_compare’?
>  1383 |       return std::__lexicographical_compare<__simple>::__lc(__first1, __last1,
>       |                   ^~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1304:12: note: ‘__lexicographical_compare’ declared here
>  1304 |     struct __lexicographical_compare
>       |            ^~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘_OI __copy_move_backward_a(_II, _II, _OI)’:
> /usr/include/c++/11/bits/stl_algobase.h:798:19: error: ‘__niter_wrap’ is not a member of ‘std’; did you mean ‘__niter_base’?
>   798 |       return std::__niter_wrap(__result,
>       |                   ^~~~~~~~~~~~
>       |                   __niter_base
> /usr/include/c++/11/bits/stl_algobase.h:1383:56: error: ‘::__lc’ has not been declared
>  1383 |       return std::__lexicographical_compare<__simple>::__lc(__first1, __last1,
>       |                                                        ^~~~
> /usr/include/c++/11/bits/stl_algobase.h:799:22: error: ‘__copy_move_backward_a1’ is not a member of ‘std’; did you mean ‘__copy_move_backward_a1’?
>   799 |                 std::__copy_move_backward_a1<_IsMove>
>       |                      ^~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h: At global scope:
> /usr/include/c++/11/bits/stl_algobase.h:1391:25: error: ‘template<class _Tp1, class _Ref1, class _Ptr1, class _Tp2> bool __lexicographical_compare_aux1’ conflicts with a previous declaration
>  1391 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                         ^~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:768:5: note: ‘__copy_move_backward_a1’ declared here
>   768 |     __copy_move_backward_a1(_BI1 __first, _BI1 __last, _BI2 __result)
>       |     ^~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1365:5: note: previous declaration ‘bool __lexicographical_compare_aux1(_II1, _II1, _II2, _II2)’
>  1365 |     __lexicographical_compare_aux1(_II1 __first1, _II1 __last1,
>       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1391:25: error: ‘_Deque_iterator’ is not a member of ‘std’; did you mean ‘reverse_iterator’?
>  1391 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                         ^~~~~~~~~~~~~~~
>       |                         reverse_iterator
> /usr/include/c++/11/bits/stl_algobase.h:1391:45: error: expected primary-expression before ‘,’ token
>  1391 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                             ^
> /usr/include/c++/11/bits/stl_algobase.h:1391:52: error: expected primary-expression before ‘,’ token
>  1391 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                                    ^
> /usr/include/c++/11/bits/stl_algobase.h:1391:59: error: expected primary-expression before ‘>’ token
>  1391 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                                           ^
> /usr/include/c++/11/bits/stl_algobase.h:1391:60: error: expected primary-expression before ‘,’ token
>  1391 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                                            ^
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘_BI2 copy_backward(_BI1, _BI1, _BI2)’:
> /usr/include/c++/11/bits/stl_algobase.h:858:19: error: ‘__copy_move_backward_a’ is not a member of ‘std’; did you mean ‘__copy_move_backward_a’?
>   858 |       return std::__copy_move_backward_a<__is_move_iterator<_BI1>::__value>
>       |                   ^~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:822:5: note: ‘__copy_move_backward_a’ declared here
>   822 |     __copy_move_backward_a(
>       |     ^~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:858:42: error: ‘__is_move_iterator’ was not declared in this scope; did you mean ‘std::__is_move_iterator’?
>   858 |       return std::__copy_move_backward_a<__is_move_iterator<_BI1>::__value>
>       |                                          ^~~~~~~~~~~~~~~~~~
>       |                                          std::__is_move_iterator
> In file included from /usr/include/c++/11/cmath:42,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/cpp_type_traits.h:549:12: note: ‘std::__is_move_iterator’ declared here
>   549 |     struct __is_move_iterator
>       |            ^~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1392:25: error: ‘_Deque_iterator’ is not a member of ‘std’; did you mean ‘reverse_iterator’?
>  1392 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                         ^~~~~~~~~~~~~~~
>       |                         reverse_iterator
> /usr/include/c++/11/bits/stl_algobase.h:1392:45: error: expected primary-expression before ‘,’ token
>  1392 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                             ^
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:858:65: error: expected primary-expression before ‘>’ token
>   858 |       return std::__copy_move_backward_a<__is_move_iterator<_BI1>::__value>
>       |                                                                 ^
> /usr/include/c++/11/bits/stl_algobase.h:1392:52: error: expected primary-expression before ‘,’ token
>  1392 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                                    ^
> /usr/include/c++/11/bits/stl_algobase.h:1392:59: error: expected primary-expression before ‘>’ token
>  1392 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                                           ^
> /usr/include/c++/11/bits/stl_algobase.h:858:75: error: missing template arguments before ‘>’ token
>   858 |       return std::__copy_move_backward_a<__is_move_iterator<_BI1>::__value>
>       |                                                                           ^
> /usr/include/c++/11/bits/stl_algobase.h:1392:60: error: expected primary-expression before ‘,’ token
>  1392 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                                            ^
> /usr/include/c++/11/bits/stl_algobase.h:1393:13: error: expected primary-expression before ‘*’ token
>  1393 |         _Tp2*, _Tp2*);
>       |             ^
> /usr/include/c++/11/bits/stl_algobase.h:1393:14: error: expected primary-expression before ‘,’ token
>  1393 |         _Tp2*, _Tp2*);
>       |              ^
> /usr/include/c++/11/bits/stl_algobase.h:1393:20: error: expected primary-expression before ‘*’ token
>  1393 |         _Tp2*, _Tp2*);
>       |                    ^
> /usr/include/c++/11/bits/stl_algobase.h:1393:21: error: expected primary-expression before ‘)’ token
>  1393 |         _Tp2*, _Tp2*);
>       |                     ^
> /usr/include/c++/11/bits/stl_algobase.h:1393:21: error: expression list treated as compound expression in initializer [-fpermissive]
> In file included from /usr/include/c++/11/cstdlib:41,
>                  from /usr/include/c++/11/stdlib.h:36,
>                  from /usr/include/pm_config.h:185,
>                  from /usr/include/pm.h:16,
>                  from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/c++/11/bits/stl_algobase.h:1399:9: error: ‘std::_Deque_iterator’ has not been declared
>  1399 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp2, _Ref2, _Ptr2>,
>       |         ^~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:1399:40: error: expected ‘,’ or ‘...’ before ‘<’ token
>  1399 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp2, _Ref2, _Ptr2>,
>       |                                        ^
> /usr/include/c++/11/bits/stl_algobase.h:1406:25: error: ‘template<class _Tp1, class _Ref1, class _Ptr1, class _Tp2, class _Ref2, class _Ptr2> bool __lexicographical_compare_aux1’ conflicts with a previous declaration
>  1406 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                         ^~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1398:5: note: previous declaration ‘__lexicographical_compare_aux1’
>  1398 |     __lexicographical_compare_aux1(_Tp1*, _Tp1*,
>       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘_BI2 move_backward(_BI1, _BI1, _BI2)’:
> /usr/include/c++/11/bits/stl_algobase.h:894:19: error: ‘__copy_move_backward_a’ is not a member of ‘std’; did you mean ‘__copy_move_backward_a’?
>   894 |       return std::__copy_move_backward_a<true>(std::__miter_base(__first),
>       |                   ^~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:822:5: note: ‘__copy_move_backward_a’ declared here
>   822 |     __copy_move_backward_a(
>       |     ^~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1406:25: error: ‘_Deque_iterator’ is not a member of ‘std’; did you mean ‘reverse_iterator’?
>  1406 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                         ^~~~~~~~~~~~~~~
>       |                         reverse_iterator
> /usr/include/c++/11/bits/stl_algobase.h:1406:45: error: expected primary-expression before ‘,’ token
>  1406 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                             ^
> /usr/include/c++/11/bits/stl_algobase.h: At global scope:
> /usr/include/c++/11/bits/stl_algobase.h:907:29: error: ‘__is_scalar’ was not declared in this scope; did you mean ‘std::__is_scalar’?
>   907 |     __gnu_cxx::__enable_if<!__is_scalar<_Tp>::__value, void>::__type
>       |                             ^~~~~~~~~~~
>       |                             std::__is_scalar
> /usr/include/c++/11/bits/stl_algobase.h:1406:52: error: expected primary-expression before ‘,’ token
>  1406 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                                    ^
> /usr/include/c++/11/bits/stl_algobase.h:1406:59: error: expected primary-expression before ‘>’ token
>  1406 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                                           ^
> In file included from /usr/include/c++/11/cmath:42,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/cpp_type_traits.h:345:12: note: ‘std::__is_scalar’ declared here
>   345 |     struct __is_scalar
>       |            ^~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1406:60: error: expected primary-expression before ‘,’ token
>  1406 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                                            ^
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:907:44: error: wrong number of template arguments (1, should be 2)
>   907 |     __gnu_cxx::__enable_if<!__is_scalar<_Tp>::__value, void>::__type
>       |                                            ^
> In file included from /usr/include/c++/11/cmath:43,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/ext/type_traits.h:45:12: note: provided for ‘template<bool <anonymous>, class> struct __gnu_cxx::__enable_if’
>    45 |     struct __enable_if
>       |            ^~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:907:45: error: expected identifier before ‘::’ token
>   907 |     __gnu_cxx::__enable_if<!__is_scalar<_Tp>::__value, void>::__type
>       |                                             ^~
> /usr/include/c++/11/bits/stl_algobase.h:907:45: error: explicit qualification in declaration of ‘__value’
> /usr/include/c++/11/bits/stl_algobase.h:1407:25: error: ‘_Deque_iterator’ is not a member of ‘std’; did you mean ‘reverse_iterator’?
>  1407 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                         ^~~~~~~~~~~~~~~
>       |                         reverse_iterator
> /usr/include/c++/11/bits/stl_algobase.h:907:47: error: redeclaration of ‘template<class _ForwardIterator, class _Tp> int __value’
>   907 |     __gnu_cxx::__enable_if<!__is_scalar<_Tp>::__value, void>::__type
>       |                                               ^~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1407:45: error: expected primary-expression before ‘,’ token
>  1407 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                             ^
> /usr/include/c++/11/bits/stl_algobase.h:457:54: note: previous declaration ‘template<bool _IsMove, class _CharT> int __value<_IsMove, _CharT>’
>   457 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                      ^~
> /usr/include/c++/11/bits/stl_algobase.h:1407:52: error: expected primary-expression before ‘,’ token
>  1407 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                                    ^
> /usr/include/c++/11/bits/stl_algobase.h:1407:59: error: expected primary-expression before ‘>’ token
>  1407 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                                           ^
> /usr/include/c++/11/bits/stl_algobase.h:907:54: error: expected ‘;’ before ‘,’ token
>   907 |     __gnu_cxx::__enable_if<!__is_scalar<_Tp>::__value, void>::__type
>       |                                                      ^
>       |                                                      ;
> /usr/include/c++/11/bits/stl_algobase.h:1407:60: error: expected primary-expression before ‘,’ token
>  1407 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                                            ^
> /usr/include/c++/11/bits/stl_algobase.h:918:28: error: ‘__is_scalar’ was not declared in this scope; did you mean ‘std::__is_scalar’?
>   918 |     __gnu_cxx::__enable_if<__is_scalar<_Tp>::__value, void>::__type
>       |                            ^~~~~~~~~~~
>       |                            std::__is_scalar
> In file included from /usr/include/c++/11/cmath:42,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/cpp_type_traits.h:345:12: note: ‘std::__is_scalar’ declared here
>   345 |     struct __is_scalar
>       |            ^~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:918:43: error: wrong number of template arguments (1, should be 2)
>   918 |     __gnu_cxx::__enable_if<__is_scalar<_Tp>::__value, void>::__type
>       |                                           ^
> In file included from /usr/include/c++/11/cmath:43,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/ext/type_traits.h:45:12: note: provided for ‘template<bool <anonymous>, class> struct __gnu_cxx::__enable_if’
>    45 |     struct __enable_if
>       |            ^~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1408:25: error: ‘_Deque_iterator’ is not a member of ‘std’; did you mean ‘reverse_iterator’?
>  1408 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp2, _Ref2, _Ptr2>,
>       |                         ^~~~~~~~~~~~~~~
>       |                         reverse_iterator
> /usr/include/c++/11/bits/stl_algobase.h:1408:45: error: expected primary-expression before ‘,’ token
>  1408 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp2, _Ref2, _Ptr2>,
>       |                                             ^
> /usr/include/c++/11/bits/stl_algobase.h:1408:52: error: expected primary-expression before ‘,’ token
>  1408 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp2, _Ref2, _Ptr2>,
>       |                                                    ^
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:918:44: error: expected identifier before ‘::’ token
>   918 |     __gnu_cxx::__enable_if<__is_scalar<_Tp>::__value, void>::__type
>       |                                            ^~
> /usr/include/c++/11/bits/stl_algobase.h:1408:59: error: expected primary-expression before ‘>’ token
>  1408 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp2, _Ref2, _Ptr2>,
>       |                                                           ^
> /usr/include/c++/11/bits/stl_algobase.h:918:44: error: explicit qualification in declaration of ‘__value’
> /usr/include/c++/11/bits/stl_algobase.h:918:46: error: redeclaration of ‘template<class _ForwardIterator, class _Tp> int __value’
>   918 |     __gnu_cxx::__enable_if<__is_scalar<_Tp>::__value, void>::__type
>       |                                              ^~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1408:60: error: expected primary-expression before ‘,’ token
>  1408 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp2, _Ref2, _Ptr2>,
>       |                                                            ^
> /usr/include/c++/11/bits/stl_algobase.h:457:54: note: previous declaration ‘template<bool _IsMove, class _CharT> int __value<_IsMove, _CharT>’
>   457 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                      ^~
> /usr/include/c++/11/bits/stl_algobase.h:918:53: error: expected ‘;’ before ‘,’ token
>   918 |     __gnu_cxx::__enable_if<__is_scalar<_Tp>::__value, void>::__type
>       |                                                     ^
>       |                                                     ;
> /usr/include/c++/11/bits/stl_algobase.h:931:28: error: ‘__is_byte’ was not declared in this scope; did you mean ‘std::__is_byte’?
>   931 |     __gnu_cxx::__enable_if<__is_byte<_Tp>::__value, void>::__type
>       |                            ^~~~~~~~~
>       |                            std::__is_byte
> /usr/include/c++/11/bits/stl_algobase.h:1409:25: error: ‘_Deque_iterator’ is not a member of ‘std’; did you mean ‘reverse_iterator’?
>  1409 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp2, _Ref2, _Ptr2>);
>       |                         ^~~~~~~~~~~~~~~
>       |                         reverse_iterator
> In file included from /usr/include/c++/11/cmath:42,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/cpp_type_traits.h:376:12: note: ‘std::__is_byte’ declared here
>   376 |     struct __is_byte
>       |            ^~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1409:45: error: expected primary-expression before ‘,’ token
>  1409 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp2, _Ref2, _Ptr2>);
>       |                                             ^
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:931:41: error: wrong number of template arguments (1, should be 2)
>   931 |     __gnu_cxx::__enable_if<__is_byte<_Tp>::__value, void>::__type
>       |                                         ^
> /usr/include/c++/11/bits/stl_algobase.h:1409:52: error: expected primary-expression before ‘,’ token
>  1409 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp2, _Ref2, _Ptr2>);
>       |                                                    ^
> /usr/include/c++/11/bits/stl_algobase.h:1409:59: error: expected primary-expression before ‘>’ token
>  1409 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp2, _Ref2, _Ptr2>);
>       |                                                           ^
> In file included from /usr/include/c++/11/cmath:43,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/ext/type_traits.h:45:12: note: provided for ‘template<bool <anonymous>, class> struct __gnu_cxx::__enable_if’
>    45 |     struct __enable_if
>       |            ^~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1409:60: error: expected primary-expression before ‘)’ token
>  1409 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp2, _Ref2, _Ptr2>);
>       |                                                            ^
> /usr/include/c++/11/bits/stl_algobase.h:1409:60: error: expression list treated as compound expression in initializer [-fpermissive]
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:931:42: error: expected identifier before ‘::’ token
>   931 |     __gnu_cxx::__enable_if<__is_byte<_Tp>::__value, void>::__type
>       |                                          ^~
> /usr/include/c++/11/bits/stl_algobase.h:931:42: error: explicit qualification in declaration of ‘__value’
> /usr/include/c++/11/bits/stl_algobase.h:931:44: error: redeclaration of ‘template<class _Tp> int __value’
>   931 |     __gnu_cxx::__enable_if<__is_byte<_Tp>::__value, void>::__type
>       |                                            ^~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:457:54: note: previous declaration ‘template<bool _IsMove, class _CharT> int __value<_IsMove, _CharT>’
>   457 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                      ^~
> /usr/include/c++/11/bits/stl_algobase.h:931:51: error: expected ‘;’ before ‘,’ token
>   931 |     __gnu_cxx::__enable_if<__is_byte<_Tp>::__value, void>::__type
>       |                                                   ^
>       |                                                   ;
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘bool __lexicographical_compare_aux(_II1, _II1, _II2, _II2)’:
> /usr/include/c++/11/bits/stl_algobase.h:1417:19: error: ‘__lexicographical_compare_aux1’ is not a member of ‘std’; did you mean ‘__lexicographical_compare_aux1’?
>  1417 |       return std::__lexicographical_compare_aux1(std::__niter_base(__first1),
>       |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘void __fill_a1(__gnu_cxx::__normal_iterator<_Iterator, _Container>, __gnu_cxx::__normal_iterator<_Iterator, _Container>, const _Tp&)’:
> /usr/include/c++/11/bits/stl_algobase.h:953:12: error: ‘__fill_a1’ is not a member of ‘std’; did you mean ‘__fill_a1’?
>   953 |     { std::__fill_a1(__first.base(), __last.base(), __value); }
>       |            ^~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1398:5: note: ‘__lexicographical_compare_aux1’ declared here
>  1398 |     __lexicographical_compare_aux1(_Tp1*, _Tp1*,
>       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:950:5: note: ‘__fill_a1’ declared here
>   950 |     __fill_a1(::__gnu_cxx::__normal_iterator<_Ite, _Cont> __first,
>       |     ^~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘_ForwardIterator __lower_bound(_ForwardIterator, _ForwardIterator, const _Tp&, _Compare)’:
> /usr/include/c++/11/bits/stl_algobase.h:1454:24: error: expected nested-name-specifier before ‘iterator_traits’
>  1454 |       typedef typename iterator_traits<_ForwardIterator>::difference_type
>       |                        ^~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1454:39: error: expected initializer before ‘<’ token
>  1454 |       typedef typename iterator_traits<_ForwardIterator>::difference_type
>       |                                       ^
> /usr/include/c++/11/bits/stl_algobase.h: At global scope:
> /usr/include/c++/11/bits/stl_algobase.h:957:37: error: ‘_Deque_iterator’ in namespace ‘std’ does not name a template type; did you mean ‘reverse_iterator’?
>   957 |     __fill_a1(const _GLIBCXX_STD_C::_Deque_iterator<_Tp, _Tp&, _Tp*>&,
>       |                                     ^~~~~~~~~~~~~~~
>       |                                     reverse_iterator
> /usr/include/c++/11/bits/stl_algobase.h:957:52: error: expected ‘,’ or ‘...’ before ‘<’ token
>   957 |     __fill_a1(const _GLIBCXX_STD_C::_Deque_iterator<_Tp, _Tp&, _Tp*>&,
>       |                                                    ^
> /usr/include/c++/11/bits/stl_algobase.h:962:3: error: variable or field ‘__fill_a1’ declared void
>   962 |   __fill_a1(_GLIBCXX_STD_C::_Bit_iterator, _GLIBCXX_STD_C::_Bit_iterator,
>       |   ^~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:962:29: error: ‘_Bit_iterator’ is not a member of ‘std’; did you mean ‘_List_iterator’?
>   962 |   __fill_a1(_GLIBCXX_STD_C::_Bit_iterator, _GLIBCXX_STD_C::_Bit_iterator,
>       |                             ^~~~~~~~~~~~~
>       |                             _List_iterator
> /usr/include/c++/11/bits/stl_algobase.h:962:60: error: ‘_Bit_iterator’ is not a member of ‘std’; did you mean ‘_List_iterator’?
>   962 |   __fill_a1(_GLIBCXX_STD_C::_Bit_iterator, _GLIBCXX_STD_C::_Bit_iterator,
>       |                                                            ^~~~~~~~~~~~~
>       |                                                            _List_iterator
> /usr/include/c++/11/bits/stl_algobase.h:963:13: error: expected primary-expression before ‘const’
>   963 |             const bool&);
>       |             ^~~~~
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘void __fill_a(_FIte, _FIte, const _Tp&)’:
> /usr/include/c++/11/bits/stl_algobase.h:969:12: error: ‘__fill_a1’ is not a member of ‘std’; did you mean ‘__fill_a1’?
>   969 |     { std::__fill_a1(__first, __last, __value); }
>       |            ^~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:957:5: note: ‘__fill_a1’ declared here
>   957 |     __fill_a1(const _GLIBCXX_STD_C::_Deque_iterator<_Tp, _Tp&, _Tp*>&,
>       |     ^~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘void fill(_ForwardIterator, _ForwardIterator, const _Tp&)’:
> /usr/include/c++/11/bits/stl_algobase.h:999:12: error: ‘__fill_a’ is not a member of ‘std’; did you mean ‘__fill_a’?
>   999 |       std::__fill_a(__first, __last, __value);
>       |            ^~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:973:5: note: ‘__fill_a’ declared here
>   973 |     __fill_a(const ::__gnu_debug::_Safe_iterator<_Ite, _Seq, _Cat>&,
>       |     ^~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h: At global scope:
> /usr/include/c++/11/bits/stl_algobase.h:1055:29: error: ‘__is_scalar’ was not declared in this scope; did you mean ‘std::__is_scalar’?
>  1055 |     __gnu_cxx::__enable_if<!__is_scalar<_Tp>::__value, _OutputIterator>::__type
>       |                             ^~~~~~~~~~~
>       |                             std::__is_scalar
> In file included from /usr/include/c++/11/cmath:42,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/cpp_type_traits.h:345:12: note: ‘std::__is_scalar’ declared here
>   345 |     struct __is_scalar
>       |            ^~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:1055:44: error: wrong number of template arguments (1, should be 2)
>  1055 |     __gnu_cxx::__enable_if<!__is_scalar<_Tp>::__value, _OutputIterator>::__type
>       |                                            ^
> /usr/include/c++/11/bits/stl_algobase.h:1457:7: error: ‘_DistanceType’ was not declared in this scope
>  1457 |       _DistanceType __len = std::distance(__first, __last);
>       |       ^~~~~~~~~~~~~
> In file included from /usr/include/c++/11/cmath:43,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/ext/type_traits.h:45:12: note: provided for ‘template<bool <anonymous>, class> struct __gnu_cxx::__enable_if’
>    45 |     struct __enable_if
>       |            ^~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:1055:45: error: expected identifier before ‘::’ token
>  1055 |     __gnu_cxx::__enable_if<!__is_scalar<_Tp>::__value, _OutputIterator>::__type
>       |                                             ^~
> /usr/include/c++/11/bits/stl_algobase.h:1055:45: error: explicit qualification in declaration of ‘__value’
> /usr/include/c++/11/bits/stl_algobase.h:1055:47: error: redeclaration of ‘template<class _OutputIterator, class _Size, class _Tp> int __value’
>  1055 |     __gnu_cxx::__enable_if<!__is_scalar<_Tp>::__value, _OutputIterator>::__type
>       |                                               ^~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:457:54: note: previous declaration ‘template<bool _IsMove, class _CharT> int __value<_IsMove, _CharT>’
>   457 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                      ^~
> /usr/include/c++/11/bits/stl_algobase.h:1055:54: error: expected ‘;’ before ‘,’ token
>  1055 |     __gnu_cxx::__enable_if<!__is_scalar<_Tp>::__value, _OutputIterator>::__type
>       |                                                      ^
>       |                                                      ;
> /usr/include/c++/11/bits/stl_algobase.h:1066:28: error: ‘__is_scalar’ was not declared in this scope; did you mean ‘std::__is_scalar’?
>  1066 |     __gnu_cxx::__enable_if<__is_scalar<_Tp>::__value, _OutputIterator>::__type
>       |                            ^~~~~~~~~~~
>       |                            std::__is_scalar
> In file included from /usr/include/c++/11/cmath:42,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/cpp_type_traits.h:345:12: note: ‘std::__is_scalar’ declared here
>   345 |     struct __is_scalar
>       |            ^~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:1066:43: error: wrong number of template arguments (1, should be 2)
>  1066 |     __gnu_cxx::__enable_if<__is_scalar<_Tp>::__value, _OutputIterator>::__type
>       |                                           ^
> /usr/include/c++/11/bits/stl_algobase.h:1459:14: error: ‘__len’ was not declared in this scope
>  1459 |       while (__len > 0)
>       |              ^~~~~
> In file included from /usr/include/c++/11/cmath:43,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/ext/type_traits.h:45:12: note: provided for ‘template<bool <anonymous>, class> struct __gnu_cxx::__enable_if’
>    45 |     struct __enable_if
>       |            ^~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1461:24: error: expected ‘;’ before ‘__half’
>  1461 |           _DistanceType __half = __len >> 1;
>       |                        ^~~~~~~
>       |                        ;
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:1066:44: error: expected identifier before ‘::’ token
>  1066 |     __gnu_cxx::__enable_if<__is_scalar<_Tp>::__value, _OutputIterator>::__type
>       |                                            ^~
> /usr/include/c++/11/bits/stl_algobase.h:1066:44: error: explicit qualification in declaration of ‘__value’
> /usr/include/c++/11/bits/stl_algobase.h:1066:46: error: redeclaration of ‘template<class _OutputIterator, class _Size, class _Tp> int __value’
>  1066 |     __gnu_cxx::__enable_if<__is_scalar<_Tp>::__value, _OutputIterator>::__type
>       |                                              ^~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:457:54: note: previous declaration ‘template<bool _IsMove, class _CharT> int __value<_IsMove, _CharT>’
>   457 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                      ^~
> /usr/include/c++/11/bits/stl_algobase.h:1066:53: error: expected ‘;’ before ‘,’ token
>  1066 |     __gnu_cxx::__enable_if<__is_scalar<_Tp>::__value, _OutputIterator>::__type
>       |                                                     ^
>       |                                                     ;
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘_OutputIterator __fill_n_a(_OutputIterator, _Size, const _Tp&, std::output_iterator_tag)’:
> /usr/include/c++/11/bits/stl_algobase.h:1089:21: error: ‘is_integral’ was not declared in this scope; did you mean ‘std::is_integral’?
>  1089 |       static_assert(is_integral<_Size>{}, "fill_n must pass integral size");
>       |                     ^~~~~~~~~~~
>       |                     std::is_integral
> In file included from /usr/include/c++/11/bits/move.h:57,
>                  from /usr/include/c++/11/bits/stl_pair.h:59,
>                  from /usr/include/c++/11/bits/stl_algobase.h:64,
>                  from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/type_traits:392:12: note: ‘std::is_integral’ declared here
>   392 |     struct is_integral
>       |            ^~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:1089:38: error: expected primary-expression before ‘>’ token
>  1089 |       static_assert(is_integral<_Size>{}, "fill_n must pass integral size");
>       |                                      ^
> /usr/include/c++/11/bits/stl_algobase.h:1089:39: error: expected primary-expression before ‘{’ token
>  1089 |       static_assert(is_integral<_Size>{}, "fill_n must pass integral size");
>       |                                       ^
> /usr/include/c++/11/bits/stl_algobase.h:1463:34: error: ‘__half’ was not declared in this scope; did you mean ‘__val’?
>  1463 |           std::advance(__middle, __half);
>       |                                  ^~~~~~
>       |                                  __val
> /usr/include/c++/11/bits/stl_algobase.h:1089:39: error: expected ‘,’ before ‘{’ token
>  1089 |       static_assert(is_integral<_Size>{}, "fill_n must pass integral size");
>       |                                       ^
>       |                                       ,
> /usr/include/c++/11/bits/stl_algobase.h:1089:39: error: expected string-literal before ‘{’ token
> /usr/include/c++/11/bits/stl_algobase.h:1089:39: error: expected ‘)’ before ‘{’ token
>  1089 |       static_assert(is_integral<_Size>{}, "fill_n must pass integral size");
>       |                    ~                  ^
>       |                                       )
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘_ForwardIterator lower_bound(_ForwardIterator, _ForwardIterator, const _Tp&)’:
> /usr/include/c++/11/bits/stl_algobase.h:1499:19: error: ‘__lower_bound’ is not a member of ‘std’; did you mean ‘__lower_bound’?
>  1499 |       return std::__lower_bound(__first, __last, __val,
>       |                   ^~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1451:5: note: ‘__lower_bound’ declared here
>  1451 |     __lower_bound(_ForwardIterator __first, _ForwardIterator __last,
>       |     ^~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘_OutputIterator __fill_n_a(_OutputIterator, _Size, const _Tp&, std::input_iterator_tag)’:
> /usr/include/c++/11/bits/stl_algobase.h:1101:21: error: ‘is_integral’ was not declared in this scope; did you mean ‘std::is_integral’?
>  1101 |       static_assert(is_integral<_Size>{}, "fill_n must pass integral size");
>       |                     ^~~~~~~~~~~
>       |                     std::is_integral
> In file included from /usr/include/c++/11/bits/move.h:57,
>                  from /usr/include/c++/11/bits/stl_pair.h:59,
>                  from /usr/include/c++/11/bits/stl_algobase.h:64,
>                  from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/type_traits:392:12: note: ‘std::is_integral’ declared here
>   392 |     struct is_integral
>       |            ^~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:1101:38: error: expected primary-expression before ‘>’ token
>  1101 |       static_assert(is_integral<_Size>{}, "fill_n must pass integral size");
>       |                                      ^
> /usr/include/c++/11/bits/stl_algobase.h:1101:39: error: expected primary-expression before ‘{’ token
>  1101 |       static_assert(is_integral<_Size>{}, "fill_n must pass integral size");
>       |                                       ^
> /usr/include/c++/11/bits/stl_algobase.h:1101:39: error: expected ‘,’ before ‘{’ token
>  1101 |       static_assert(is_integral<_Size>{}, "fill_n must pass integral size");
>       |                                       ^
>       |                                       ,
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘bool equal(_II1, _II1, _II2)’:
> /usr/include/c++/11/bits/stl_algobase.h:1556:19: error: ‘__equal_aux’ is not a member of ‘std’; did you mean ‘__equal_aux’?
>  1556 |       return std::__equal_aux(__first1, __last1, __first2);
>       |                   ^~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1238:5: note: ‘__equal_aux’ declared here
>  1238 |     __equal_aux(const ::__gnu_debug::_Safe_iterator<_II1, _Seq1, _Cat1>&,
>       |     ^~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1101:39: error: expected string-literal before ‘{’ token
> /usr/include/c++/11/bits/stl_algobase.h:1101:39: error: expected ‘)’ before ‘{’ token
>  1101 |       static_assert(is_integral<_Size>{}, "fill_n must pass integral size");
>       |                    ~                  ^
>       |                                       )
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘_OutputIterator __fill_n_a(_OutputIterator, _Size, const _Tp&, std::random_access_iterator_tag)’:
> /usr/include/c++/11/bits/stl_algobase.h:1113:21: error: ‘is_integral’ was not declared in this scope; did you mean ‘std::is_integral’?
>  1113 |       static_assert(is_integral<_Size>{}, "fill_n must pass integral size");
>       |                     ^~~~~~~~~~~
>       |                     std::is_integral
> In file included from /usr/include/c++/11/bits/move.h:57,
>                  from /usr/include/c++/11/bits/stl_pair.h:59,
>                  from /usr/include/c++/11/bits/stl_algobase.h:64,
>                  from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/type_traits:392:12: note: ‘std::is_integral’ declared here
>   392 |     struct is_integral
>       |            ^~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:1113:38: error: expected primary-expression before ‘>’ token
>  1113 |       static_assert(is_integral<_Size>{}, "fill_n must pass integral size");
>       |                                      ^
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘bool __equal4(_II1, _II1, _II2, _II2)’:
> /usr/include/c++/11/bits/stl_algobase.h:1598:22: error: ‘random_access_iterator_tag’ does not name a type
>  1598 |       using _RATag = random_access_iterator_tag;
>       |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1599:30: error: expected nested-name-specifier before ‘iterator_traits’
>  1599 |       using _Cat1 = typename iterator_traits<_II1>::iterator_category;
>       |                              ^~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1113:39: error: expected primary-expression before ‘{’ token
>  1113 |       static_assert(is_integral<_Size>{}, "fill_n must pass integral size");
>       |                                       ^
> /usr/include/c++/11/bits/stl_algobase.h:1600:30: error: expected nested-name-specifier before ‘iterator_traits’
>  1600 |       using _Cat2 = typename iterator_traits<_II2>::iterator_category;
>       |                              ^~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1113:39: error: expected ‘,’ before ‘{’ token
>  1113 |       static_assert(is_integral<_Size>{}, "fill_n must pass integral size");
>       |                                       ^
>       |                                       ,
> /usr/include/c++/11/bits/stl_algobase.h:1113:39: error: expected string-literal before ‘{’ token
> /usr/include/c++/11/bits/stl_algobase.h:1601:24: error: ‘__and_’ does not name a type
>  1601 |       using _RAIters = __and_<is_same<_Cat1, _RATag>, is_same<_Cat2, _RATag>>;
>       |                        ^~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1602:11: error: there are no arguments to ‘_RAIters’ that depend on a template parameter, so a declaration of ‘_RAIters’ must be available [-fpermissive]
>  1602 |       if (_RAIters())
>       |           ^~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1602:11: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
> /usr/include/c++/11/bits/stl_algobase.h:1113:39: error: expected ‘)’ before ‘{’ token
>  1113 |       static_assert(is_integral<_Size>{}, "fill_n must pass integral size");
>       |                    ~                  ^
>       |                                       )
> /usr/include/c++/11/bits/stl_algobase.h:1608:34: error: ‘equal’ is not a member of ‘std’; did you mean ‘remquol’?
>  1608 |           return _GLIBCXX_STD_A::equal(__first1, __last1, __first2);
>       |                                  ^~~~~
>       |                                  remquol
> /usr/include/c++/11/bits/stl_algobase.h:1120:12: error: ‘__fill_a’ is not a member of ‘std’; did you mean ‘__fill_a’?
>  1120 |       std::__fill_a(__first, __first + __n, __value);
>       |            ^~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:973:5: note: ‘__fill_a’ declared here
>   973 |     __fill_a(const ::__gnu_debug::_Safe_iterator<_Ite, _Seq, _Cat>&,
>       |     ^~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘_OI fill_n(_OI, _Size, const _Tp&)’:
> /usr/include/c++/11/bits/stl_algobase.h:1149:19: error: ‘__fill_n_a’ is not a member of ‘std’; did you mean ‘__fill_n_a’?
>  1149 |       return std::__fill_n_a(__first, std::__size_to_integer(__n), __value,
>       |                   ^~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘bool __equal4(_II1, _II1, _II2, _II2, _BinaryPredicate)’:
> /usr/include/c++/11/bits/stl_algobase.h:1625:22: error: ‘random_access_iterator_tag’ does not name a type
>  1625 |       using _RATag = random_access_iterator_tag;
>       |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1109:5: note: ‘__fill_n_a’ declared here
>  1109 |     __fill_n_a(_OutputIterator __first, _Size __n, const _Tp& __value,
>       |     ^~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1626:30: error: expected nested-name-specifier before ‘iterator_traits’
>  1626 |       using _Cat1 = typename iterator_traits<_II1>::iterator_category;
>       |                              ^~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1627:30: error: expected nested-name-specifier before ‘iterator_traits’
>  1627 |       using _Cat2 = typename iterator_traits<_II2>::iterator_category;
>       |                              ^~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1628:24: error: ‘__and_’ does not name a type
>  1628 |       using _RAIters = __and_<is_same<_Cat1, _RATag>, is_same<_Cat2, _RATag>>;
>       |                        ^~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1149:44: error: ‘__size_to_integer’ is not a member of ‘std’; did you mean ‘__is_integer’?
>  1149 |       return std::__fill_n_a(__first, std::__size_to_integer(__n), __value,
>       |                                            ^~~~~~~~~~~~~~~~~
>       |                                            __is_integer
> /usr/include/c++/11/bits/stl_algobase.h:1629:11: error: there are no arguments to ‘_RAIters’ that depend on a template parameter, so a declaration of ‘_RAIters’ must be available [-fpermissive]
>  1629 |       if (_RAIters())
>       |           ^~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h: At global scope:
> /usr/include/c++/11/bits/stl_algobase.h:1184:7: error: ‘__is_random_access_iter’ was not declared in this scope; did you mean ‘std::__is_random_access_iter’?
>  1184 |       __is_random_access_iter<_II>::__value, bool>::__type
>       |       ^~~~~~~~~~~~~~~~~~~~~~~
>       |       std::__is_random_access_iter
> /usr/include/c++/11/bits/stl_algobase.h:1635:34: error: ‘equal’ is not a member of ‘std’; did you mean ‘remquol’?
>  1635 |           return _GLIBCXX_STD_A::equal(__first1, __last1, __first2,
>       |                                  ^~~~~
>       |                                  remquol
> In file included from /usr/include/c++/11/bits/stl_algobase.h:65,
>                  from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_iterator_base_types.h:255:12: note: ‘std::__is_random_access_iter’ declared here
>   255 |     struct __is_random_access_iter
>       |            ^~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:1184:34: error: wrong number of template arguments (1, should be 2)
>  1184 |       __is_random_access_iter<_II>::__value, bool>::__type
>       |                                  ^
> In file included from /usr/include/c++/11/cmath:43,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/ext/type_traits.h:45:12: note: provided for ‘template<bool <anonymous>, class> struct __gnu_cxx::__enable_if’
>    45 |     struct __enable_if
>       |            ^~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘bool equal(_II1, _II1, _II2, _II2)’:
> /usr/include/c++/11/bits/stl_algobase.h:1678:30: error: ‘__equal4’ is not a member of ‘std’; did you mean ‘__equal4’?
>  1678 |       return _GLIBCXX_STD_A::__equal4(__first1, __last1, __first2, __last2);
>       |                              ^~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1622:5: note: ‘__equal4’ declared here
>  1622 |     __equal4(_II1 __first1, _II1 __last1, _II2 __first2, _II2 __last2,
>       |     ^~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:1184:35: error: expected identifier before ‘::’ token
>  1184 |       __is_random_access_iter<_II>::__value, bool>::__type
>       |                                   ^~
> /usr/include/c++/11/bits/stl_algobase.h:1184:35: error: explicit qualification in declaration of ‘__value’
> /usr/include/c++/11/bits/stl_algobase.h:1184:37: error: redeclaration of ‘template<class _Tp, class _Ref, class _Ptr, class _II> int __value’
>  1184 |       __is_random_access_iter<_II>::__value, bool>::__type
>       |                                     ^~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:457:54: note: previous declaration ‘template<bool _IsMove, class _CharT> int __value<_IsMove, _CharT>’
>   457 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                      ^~
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘bool equal(_IIter1, _IIter1, _IIter2, _IIter2, _BinaryPredicate)’:
> /usr/include/c++/11/bits/stl_algobase.h:1709:30: error: ‘__equal4’ is not a member of ‘std’; did you mean ‘__equal4’?
>  1709 |       return _GLIBCXX_STD_A::__equal4(__first1, __last1, __first2, __last2,
>       |                              ^~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1622:5: note: ‘__equal4’ declared here
>  1622 |     __equal4(_II1 __first1, _II1 __last1, _II2 __first2, _II2 __last2,
>       |     ^~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1184:44: error: expected ‘;’ before ‘,’ token
>  1184 |       __is_random_access_iter<_II>::__value, bool>::__type
>       |                                            ^
>       |                                            ;
> /usr/include/c++/11/bits/stl_algobase.h:1192:34: error: ‘_Deque_iterator’ is not a member of ‘std’; did you mean ‘reverse_iterator’?
>  1192 |     __equal_aux1(_GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                  ^~~~~~~~~~~~~~~
>       |                                  reverse_iterator
> /usr/include/c++/11/bits/stl_algobase.h:1192:54: error: expected primary-expression before ‘,’ token
>  1192 |     __equal_aux1(_GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                                      ^
> /usr/include/c++/11/bits/stl_algobase.h:1192:61: error: expected primary-expression before ‘,’ token
>  1192 |     __equal_aux1(_GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                                             ^
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘bool lexicographical_compare(_II1, _II1, _II2, _II2)’:
> /usr/include/c++/11/bits/stl_algobase.h:1747:19: error: ‘__lexicographical_compare_aux’ is not a member of ‘std’; did you mean ‘__lexicographical_compare_aux’?
>  1747 |       return std::__lexicographical_compare_aux(__first1, __last1,
>       |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1192:68: error: expected primary-expression before ‘>’ token
>  1192 |     __equal_aux1(_GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                                                    ^
> /usr/include/c++/11/bits/stl_algobase.h:1442:5: note: ‘__lexicographical_compare_aux’ declared here
>  1442 |     __lexicographical_compare_aux(
>       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1192:69: error: expected primary-expression before ‘,’ token
>  1192 |     __equal_aux1(_GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                                                     ^
> /usr/include/c++/11/bits/stl_algobase.h:1193:34: error: ‘_Deque_iterator’ is not a member of ‘std’; did you mean ‘reverse_iterator’?
>  1193 |                  _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                  ^~~~~~~~~~~~~~~
>       |                                  reverse_iterator
> /usr/include/c++/11/bits/stl_algobase.h:1193:54: error: expected primary-expression before ‘,’ token
>  1193 |                  _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                                      ^
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘bool lexicographical_compare(_II1, _II1, _II2, _II2, _Compare)’:
> /usr/include/c++/11/bits/stl_algobase.h:1776:19: error: ‘__lexicographical_compare_impl’ is not a member of ‘std’; did you mean ‘__lexicographical_compare_impl’?
>  1776 |       return std::__lexicographical_compare_impl
>       |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1193:61: error: expected primary-expression before ‘,’ token
>  1193 |                  _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                                             ^
> /usr/include/c++/11/bits/stl_algobase.h:1283:5: note: ‘__lexicographical_compare_impl’ declared here
>  1283 |     __lexicographical_compare_impl(_II1 __first1, _II1 __last1,
>       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1193:68: error: expected primary-expression before ‘>’ token
>  1193 |                  _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                                                    ^
> /usr/include/c++/11/bits/stl_algobase.h:1193:69: error: expected primary-expression before ‘,’ token
>  1193 |                  _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                                                     ^
> /usr/include/c++/11/bits/stl_algobase.h: At global scope:
> /usr/include/c++/11/bits/stl_algobase.h:1880:5: error: ‘pair’ does not name a type
>  1880 |     pair<_InputIterator1, _InputIterator2>
>       |     ^~~~
> /usr/include/c++/11/bits/stl_algobase.h:1194:34: error: ‘_Deque_iterator’ is not a member of ‘std’; did you mean ‘reverse_iterator’?
>  1194 |                  _GLIBCXX_STD_C::_Deque_iterator<_Tp2, _Ref2, _Ptr2>);
>       |                                  ^~~~~~~~~~~~~~~
>       |                                  reverse_iterator
> /usr/include/c++/11/bits/stl_algobase.h:1907:12: error: ‘pair’ does not name a type
>  1907 |     inline pair<_InputIterator1, _InputIterator2>
>       |            ^~~~
> /usr/include/c++/11/bits/stl_algobase.h:1194:54: error: expected primary-expression before ‘,’ token
>  1194 |                  _GLIBCXX_STD_C::_Deque_iterator<_Tp2, _Ref2, _Ptr2>);
>       |                                                      ^
> /usr/include/c++/11/bits/stl_algobase.h:1194:61: error: expected primary-expression before ‘,’ token
>  1194 |                  _GLIBCXX_STD_C::_Deque_iterator<_Tp2, _Ref2, _Ptr2>);
>       |                                                             ^
> /usr/include/c++/11/bits/stl_algobase.h:1194:68: error: expected primary-expression before ‘>’ token
>  1194 |                  _GLIBCXX_STD_C::_Deque_iterator<_Tp2, _Ref2, _Ptr2>);
>       |                                                                    ^
> /usr/include/c++/11/bits/stl_algobase.h:1942:12: error: ‘pair’ does not name a type
>  1942 |     inline pair<_InputIterator1, _InputIterator2>
>       |            ^~~~
> /usr/include/c++/11/bits/stl_algobase.h:1194:69: error: expected primary-expression before ‘)’ token
>  1194 |                  _GLIBCXX_STD_C::_Deque_iterator<_Tp2, _Ref2, _Ptr2>);
>       |                                                                     ^
> /usr/include/c++/11/bits/stl_algobase.h:1194:69: error: expression list treated as compound expression in initializer [-fpermissive]
> /usr/include/c++/11/bits/stl_algobase.h:1198:7: error: ‘__is_random_access_iter’ was not declared in this scope; did you mean ‘std::__is_random_access_iter’?
>  1198 |       __is_random_access_iter<_II>::__value, bool>::__type
>       |       ^~~~~~~~~~~~~~~~~~~~~~~
>       |       std::__is_random_access_iter
> In file included from /usr/include/c++/11/bits/stl_algobase.h:65,
>                  from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_iterator_base_types.h:255:12: note: ‘std::__is_random_access_iter’ declared here
>   255 |     struct __is_random_access_iter
>       |            ^~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1960:5: error: ‘pair’ does not name a type
>  1960 |     pair<_InputIterator1, _InputIterator2>
>       |     ^~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:1198:34: error: wrong number of template arguments (1, should be 2)
>  1198 |       __is_random_access_iter<_II>::__value, bool>::__type
>       |                                  ^
> In file included from /usr/include/c++/11/cmath:43,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/ext/type_traits.h:45:12: note: provided for ‘template<bool <anonymous>, class> struct __gnu_cxx::__enable_if’
>    45 |     struct __enable_if
>       |            ^~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1990:12: error: ‘pair’ does not name a type
>  1990 |     inline pair<_InputIterator1, _InputIterator2>
>       |            ^~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:1198:35: error: expected identifier before ‘::’ token
>  1198 |       __is_random_access_iter<_II>::__value, bool>::__type
>       |                                   ^~
> /usr/include/c++/11/bits/stl_algobase.h:1198:35: error: explicit qualification in declaration of ‘__value’
> /usr/include/c++/11/bits/stl_algobase.h:1198:37: error: redeclaration of ‘template<class _II, class _Tp, class _Ref, class _Ptr> int __value’
>  1198 |       __is_random_access_iter<_II>::__value, bool>::__type
>       |                                     ^~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:457:54: note: previous declaration ‘template<bool _IsMove, class _CharT> int __value<_IsMove, _CharT>’
>   457 |     typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value,
>       |                                                      ^~
> /usr/include/c++/11/bits/stl_algobase.h:2027:12: error: ‘pair’ does not name a type
>  2027 |     inline pair<_InputIterator1, _InputIterator2>
>       |            ^~~~
> /usr/include/c++/11/bits/stl_algobase.h:1198:44: error: expected ‘;’ before ‘,’ token
>  1198 |       __is_random_access_iter<_II>::__value, bool>::__type
>       |                                            ^
>       |                                            ;
> /usr/include/c++/11/bits/stl_algobase.h:2050:34: error: ‘input_iterator_tag’ has not been declared
>  2050 |               _Predicate __pred, input_iterator_tag)
>       |                                  ^~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1205:60: error: ‘template<class _II1, class _II2> bool __equal_aux1(_II1, _II1, _II2)’ conflicts with a previous declaration
>  1205 |     __equal_aux1(_II1 __first1, _II1 __last1, _II2 __first2)
>       |                                                            ^
> /usr/include/c++/11/bits/stl_algobase.h:1192:5: note: previous declaration ‘template<class _Tp1, class _Ref1, class _Ptr1, class _Tp2, class _Ref2, class _Ptr2> bool __equal_aux1<_Tp1, _Ref1, _Ptr1, _Tp2, _Ref2, _Ptr2>’
>  1192 |     __equal_aux1(_GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |     ^~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:2062:34: error: ‘random_access_iterator_tag’ has not been declared
>  2062 |               _Predicate __pred, random_access_iterator_tag)
>       |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘bool __equal_aux1(_II1, _II1, _II2)’:
> /usr/include/c++/11/bits/stl_algobase.h:1207:24: error: expected nested-name-specifier before ‘iterator_traits’
>  1207 |       typedef typename iterator_traits<_II1>::value_type _ValueType1;
>       |                        ^~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:2061:5: error: redefinition of ‘template<class _RandomAccessIterator, class _Predicate> _RandomAccessIterator __find_if(_RandomAccessIterator, _RandomAccessIterator, _Predicate, int)’
>  2061 |     __find_if(_RandomAccessIterator __first, _RandomAccessIterator __last,
>       |     ^~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1207:39: error: expected initializer before ‘<’ token
>  1207 |       typedef typename iterator_traits<_II1>::value_type _ValueType1;
>       |                                       ^
> /usr/include/c++/11/bits/stl_algobase.h:2049:5: note: ‘template<class _InputIterator, class _Predicate> _InputIterator __find_if(_InputIterator, _InputIterator, _Predicate, int)’ previously declared here
>  2049 |     __find_if(_InputIterator __first, _InputIterator __last,
>       |     ^~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:2120:14: error: expected nested-name-specifier before ‘iterator_traits’
>  2120 |     typename iterator_traits<_InputIterator>::difference_type
>       |              ^~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1208:31: error: ‘__is_integer’ was not declared in this scope; did you mean ‘std::__is_integer’?
>  1208 |       const bool __simple = ((__is_integer<_ValueType1>::__value
>       |                               ^~~~~~~~~~~~
>       |                               std::__is_integer
> In file included from /usr/include/c++/11/cmath:42,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/cpp_type_traits.h:127:12: note: ‘std::__is_integer’ declared here
>   127 |     struct __is_integer
>       |            ^~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:2120:29: error: expected initializer before ‘<’ token
>  2120 |     typename iterator_traits<_InputIterator>::difference_type
>       |                             ^
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘bool __is_permutation(_ForwardIterator1, _ForwardIterator1, _ForwardIterator2, _BinaryPredicate)’:
> /usr/include/c++/11/bits/stl_algobase.h:2153:30: error: ‘__find_if’ is not a member of ‘std’; did you mean ‘__find_if’?
>  2153 |           if (__scan != std::__find_if(__first1, __scan,
>       |                              ^~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:2112:5: note: ‘__find_if’ declared here
>  2112 |     __find_if(_Iterator __first, _Iterator __last, _Predicate __pred)
>       |     ^~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:2158:20: error: ‘__count_if’ is not a member of ‘std’
>  2158 |             = std::__count_if(__first2, __last2,
>       |                    ^~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:2161:20: error: ‘__count_if’ is not a member of ‘std’
>  2161 |               std::__count_if(__scan, __last1,
>       |                    ^~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘bool is_permutation(_ForwardIterator1, _ForwardIterator1, _ForwardIterator2)’:
> /usr/include/c++/11/bits/stl_algobase.h:2195:19: error: ‘__is_permutation’ is not a member of ‘std’; did you mean ‘__is_permutation’?
>  2195 |       return std::__is_permutation(__first1, __last1, __first2,
>       |                   ^~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:2135:5: note: ‘__is_permutation’ declared here
>  2135 |     __is_permutation(_ForwardIterator1 __first1, _ForwardIterator1 __last1,
>       |     ^~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h: At global scope:
> /usr/include/c++/11/bits/stl_algobase.h:2201:1: error: expected declaration before ‘}’ token
>  2201 | } // namespace std
>       | ^
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:317:7: error: ‘constexpr’ static data member ‘min’ must have an initializer
>   317 |       min() _GLIBCXX_USE_NOEXCEPT { return _Tp(); }
>       |       ^~~
> /usr/include/c++/11/limits:317:7: error: expected ‘;’ at end of member declaration
>   317 |       min() _GLIBCXX_USE_NOEXCEPT { return _Tp(); }
>       |       ^~~
>       |          ;
> In file included from /usr/include/c++/11/cstdlib:41,
>                  from /usr/include/c++/11/stdlib.h:36,
>                  from /usr/include/pm_config.h:185,
>                  from /usr/include/pm.h:16,
>                  from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/c++/11/limits:317:13: error: expected unqualified-id before ‘noexcept’
>   317 |       min() _GLIBCXX_USE_NOEXCEPT { return _Tp(); }
>       |             ^~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:321:7: error: ‘constexpr’ static data member ‘max’ must have an initializer
>   321 |       max() _GLIBCXX_USE_NOEXCEPT { return _Tp(); }
>       |       ^~~
> /usr/include/c++/11/limits:321:7: error: expected ‘;’ at end of member declaration
>   321 |       max() _GLIBCXX_USE_NOEXCEPT { return _Tp(); }
>       |       ^~~
>       |          ;
> In file included from /usr/include/c++/11/cstdlib:41,
>                  from /usr/include/c++/11/stdlib.h:36,
>                  from /usr/include/pm_config.h:185,
>                  from /usr/include/pm.h:16,
>                  from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/c++/11/limits:321:13: error: expected unqualified-id before ‘noexcept’
>   321 |       max() _GLIBCXX_USE_NOEXCEPT { return _Tp(); }
>       |             ^~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:389:7: error: ‘constexpr’ static data member ‘min’ must have an initializer
>   389 |       min() _GLIBCXX_USE_NOEXCEPT { return false; }
>       |       ^~~
> /usr/include/c++/11/limits:389:7: error: expected ‘;’ at end of member declaration
>   389 |       min() _GLIBCXX_USE_NOEXCEPT { return false; }
>       |       ^~~
>       |          ;
> In file included from /usr/include/c++/11/cstdlib:41,
>                  from /usr/include/c++/11/stdlib.h:36,
>                  from /usr/include/pm_config.h:185,
>                  from /usr/include/pm.h:16,
>                  from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/c++/11/limits:389:13: error: expected unqualified-id before ‘noexcept’
>   389 |       min() _GLIBCXX_USE_NOEXCEPT { return false; }
>       |             ^~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:392:7: error: ‘constexpr’ static data member ‘max’ must have an initializer
>   392 |       max() _GLIBCXX_USE_NOEXCEPT { return true; }
>       |       ^~~
> /usr/include/c++/11/limits:392:7: error: expected ‘;’ at end of member declaration
>   392 |       max() _GLIBCXX_USE_NOEXCEPT { return true; }
>       |       ^~~
>       |          ;
> In file included from /usr/include/c++/11/cstdlib:41,
>                  from /usr/include/c++/11/stdlib.h:36,
>                  from /usr/include/pm_config.h:185,
>                  from /usr/include/pm.h:16,
>                  from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/c++/11/limits:392:13: error: expected unqualified-id before ‘noexcept’
>   392 |       max() _GLIBCXX_USE_NOEXCEPT { return true; }
>       |             ^~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:458:7: error: ‘constexpr’ static data member ‘min’ must have an initializer
>   458 |       min() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_min(char); }
>       |       ^~~
> /usr/include/c++/11/limits:458:7: error: expected ‘;’ at end of member declaration
>   458 |       min() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_min(char); }
>       |       ^~~
>       |          ;
> In file included from /usr/include/c++/11/cstdlib:41,
>                  from /usr/include/c++/11/stdlib.h:36,
>                  from /usr/include/pm_config.h:185,
>                  from /usr/include/pm.h:16,
>                  from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/c++/11/limits:458:13: error: expected unqualified-id before ‘noexcept’
>   458 |       min() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_min(char); }
>       |             ^~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:461:7: error: ‘constexpr’ static data member ‘max’ must have an initializer
>   461 |       max() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_max(char); }
>       |       ^~~
> /usr/include/c++/11/limits:461:7: error: expected ‘;’ at end of member declaration
>   461 |       max() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_max(char); }
>       |       ^~~
>       |          ;
> In file included from /usr/include/c++/11/cstdlib:41,
>                  from /usr/include/c++/11/stdlib.h:36,
>                  from /usr/include/pm_config.h:185,
>                  from /usr/include/pm.h:16,
>                  from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/c++/11/limits:461:13: error: expected unqualified-id before ‘noexcept’
>   461 |       max() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_max(char); }
>       |             ^~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:525:7: error: ‘constexpr’ static data member ‘min’ must have an initializer
>   525 |       min() _GLIBCXX_USE_NOEXCEPT { return -__SCHAR_MAX__ - 1; }
>       |       ^~~
> /usr/include/c++/11/limits:525:7: error: expected ‘;’ at end of member declaration
>   525 |       min() _GLIBCXX_USE_NOEXCEPT { return -__SCHAR_MAX__ - 1; }
>       |       ^~~
>       |          ;
> In file included from /usr/include/c++/11/cstdlib:41,
>                  from /usr/include/c++/11/stdlib.h:36,
>                  from /usr/include/pm_config.h:185,
>                  from /usr/include/pm.h:16,
>                  from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/c++/11/limits:525:13: error: expected unqualified-id before ‘noexcept’
>   525 |       min() _GLIBCXX_USE_NOEXCEPT { return -__SCHAR_MAX__ - 1; }
>       |             ^~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:528:7: error: ‘constexpr’ static data member ‘max’ must have an initializer
>   528 |       max() _GLIBCXX_USE_NOEXCEPT { return __SCHAR_MAX__; }
>       |       ^~~
> /usr/include/c++/11/limits:528:7: error: expected ‘;’ at end of member declaration
>   528 |       max() _GLIBCXX_USE_NOEXCEPT { return __SCHAR_MAX__; }
>       |       ^~~
>       |          ;
> In file included from /usr/include/c++/11/cstdlib:41,
>                  from /usr/include/c++/11/stdlib.h:36,
>                  from /usr/include/pm_config.h:185,
>                  from /usr/include/pm.h:16,
>                  from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/c++/11/limits:528:13: error: expected unqualified-id before ‘noexcept’
>   528 |       max() _GLIBCXX_USE_NOEXCEPT { return __SCHAR_MAX__; }
>       |             ^~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:595:7: error: ‘constexpr’ static data member ‘min’ must have an initializer
>   595 |       min() _GLIBCXX_USE_NOEXCEPT { return 0; }
>       |       ^~~
> /usr/include/c++/11/limits:595:7: error: expected ‘;’ at end of member declaration
>   595 |       min() _GLIBCXX_USE_NOEXCEPT { return 0; }
>       |       ^~~
>       |          ;
> In file included from /usr/include/c++/11/cstdlib:41,
>                  from /usr/include/c++/11/stdlib.h:36,
>                  from /usr/include/pm_config.h:185,
>                  from /usr/include/pm.h:16,
>                  from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/c++/11/limits:595:13: error: expected unqualified-id before ‘noexcept’
>   595 |       min() _GLIBCXX_USE_NOEXCEPT { return 0; }
>       |             ^~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:598:7: error: ‘constexpr’ static data member ‘max’ must have an initializer
>   598 |       max() _GLIBCXX_USE_NOEXCEPT { return __SCHAR_MAX__ * 2U + 1; }
>       |       ^~~
> /usr/include/c++/11/limits:598:7: error: expected ‘;’ at end of member declaration
>   598 |       max() _GLIBCXX_USE_NOEXCEPT { return __SCHAR_MAX__ * 2U + 1; }
>       |       ^~~
>       |          ;
> In file included from /usr/include/c++/11/cstdlib:41,
>                  from /usr/include/c++/11/stdlib.h:36,
>                  from /usr/include/pm_config.h:185,
>                  from /usr/include/pm.h:16,
>                  from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/c++/11/limits:598:13: error: expected unqualified-id before ‘noexcept’
>   598 |       max() _GLIBCXX_USE_NOEXCEPT { return __SCHAR_MAX__ * 2U + 1; }
>       |             ^~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:668:7: error: ‘constexpr’ static data member ‘min’ must have an initializer
>   668 |       min() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_min (wchar_t); }
>       |       ^~~
> /usr/include/c++/11/limits:668:7: error: expected ‘;’ at end of member declaration
>   668 |       min() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_min (wchar_t); }
>       |       ^~~
>       |          ;
> In file included from /usr/include/c++/11/cstdlib:41,
>                  from /usr/include/c++/11/stdlib.h:36,
>                  from /usr/include/pm_config.h:185,
>                  from /usr/include/pm.h:16,
>                  from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/c++/11/limits:668:13: error: expected unqualified-id before ‘noexcept’
>   668 |       min() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_min (wchar_t); }
>       |             ^~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:671:7: error: ‘constexpr’ static data member ‘max’ must have an initializer
>   671 |       max() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_max (wchar_t); }
>       |       ^~~
> /usr/include/c++/11/limits:671:7: error: expected ‘;’ at end of member declaration
>   671 |       max() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_max (wchar_t); }
>       |       ^~~
>       |          ;
> In file included from /usr/include/c++/11/cstdlib:41,
>                  from /usr/include/c++/11/stdlib.h:36,
>                  from /usr/include/pm_config.h:185,
>                  from /usr/include/pm.h:16,
>                  from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/c++/11/limits:671:13: error: expected unqualified-id before ‘noexcept’
>   671 |       max() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_max (wchar_t); }
>       |             ^~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:802:7: error: ‘constexpr’ static data member ‘min’ must have an initializer
>   802 |       min() noexcept { return __glibcxx_min (char16_t); }
>       |       ^~~
> /usr/include/c++/11/limits:802:7: error: expected ‘;’ at end of member declaration
>   802 |       min() noexcept { return __glibcxx_min (char16_t); }
>       |       ^~~
>       |          ;
> /usr/include/c++/11/limits:802:13: error: expected unqualified-id before ‘noexcept’
>   802 |       min() noexcept { return __glibcxx_min (char16_t); }
>       |             ^~~~~~~~
> /usr/include/c++/11/limits:805:7: error: ‘constexpr’ static data member ‘max’ must have an initializer
>   805 |       max() noexcept { return __glibcxx_max (char16_t); }
>       |       ^~~
> /usr/include/c++/11/limits:805:7: error: expected ‘;’ at end of member declaration
>   805 |       max() noexcept { return __glibcxx_max (char16_t); }
>       |       ^~~
>       |          ;
> /usr/include/c++/11/limits:805:13: error: expected unqualified-id before ‘noexcept’
>   805 |       max() noexcept { return __glibcxx_max (char16_t); }
>       |             ^~~~~~~~
> /usr/include/c++/11/limits:863:7: error: ‘constexpr’ static data member ‘min’ must have an initializer
>   863 |       min() noexcept { return __glibcxx_min (char32_t); }
>       |       ^~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:1208:44: error: ‘_ValueType1’ was not declared in this scope
>  1208 |       const bool __simple = ((__is_integer<_ValueType1>::__value
>       |                                            ^~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1209:31: error: missing template arguments before ‘||’ token
>  1209 |                               || __is_pointer<_ValueType1>::__value)
>       |                               ^~
> /usr/include/c++/11/limits:863:7: error: expected ‘;’ at end of member declaration
>   863 |       min() noexcept { return __glibcxx_min (char32_t); }
>       |       ^~~
>       |          ;
> /usr/include/c++/11/limits:863:13: error: expected unqualified-id before ‘noexcept’
>   863 |       min() noexcept { return __glibcxx_min (char32_t); }
>       |             ^~~~~~~~
> /usr/include/c++/11/limits:866:7: error: ‘constexpr’ static data member ‘max’ must have an initializer
>   866 |       max() noexcept { return __glibcxx_max (char32_t); }
>       |       ^~~
> /usr/include/c++/11/limits:866:7: error: expected ‘;’ at end of member declaration
>   866 |       max() noexcept { return __glibcxx_max (char32_t); }
>       |       ^~~
>       |          ;
> /usr/include/c++/11/limits:866:13: error: expected unqualified-id before ‘noexcept’
>   866 |       max() noexcept { return __glibcxx_max (char32_t); }
>       |             ^~~~~~~~
> /usr/include/c++/11/limits:925:7: error: ‘constexpr’ static data member ‘min’ must have an initializer
>   925 |       min() _GLIBCXX_USE_NOEXCEPT { return -__SHRT_MAX__ - 1; }
>       |       ^~~
> /usr/include/c++/11/limits:925:7: error: expected ‘;’ at end of member declaration
>   925 |       min() _GLIBCXX_USE_NOEXCEPT { return -__SHRT_MAX__ - 1; }
>       |       ^~~
>       |          ;
> /usr/include/c++/11/bits/stl_algobase.h:1209:34: error: ‘__is_pointer’ was not declared in this scope; did you mean ‘std::__is_pointer’?
>  1209 |                               || __is_pointer<_ValueType1>::__value)
>       |                                  ^~~~~~~~~~~~
>       |                                  std::__is_pointer
> In file included from /usr/include/c++/11/cstdlib:41,
>                  from /usr/include/c++/11/stdlib.h:36,
>                  from /usr/include/pm_config.h:185,
>                  from /usr/include/pm.h:16,
>                  from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/c++/11/limits:925:13: error: expected unqualified-id before ‘noexcept’
>   925 |       min() _GLIBCXX_USE_NOEXCEPT { return -__SHRT_MAX__ - 1; }
>       |             ^~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:928:7: error: ‘constexpr’ static data member ‘max’ must have an initializer
>   928 |       max() _GLIBCXX_USE_NOEXCEPT { return __SHRT_MAX__; }
>       |       ^~~
> /usr/include/c++/11/limits:928:7: error: expected ‘;’ at end of member declaration
>   928 |       max() _GLIBCXX_USE_NOEXCEPT { return __SHRT_MAX__; }
>       |       ^~~
>       |          ;
> In file included from /usr/include/c++/11/cstdlib:41,
>                  from /usr/include/c++/11/stdlib.h:36,
>                  from /usr/include/pm_config.h:185,
>                  from /usr/include/pm.h:16,
>                  from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/c++/11/limits:928:13: error: expected unqualified-id before ‘noexcept’
>   928 |       max() _GLIBCXX_USE_NOEXCEPT { return __SHRT_MAX__; }
>       |             ^~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/cmath:42,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/cpp_type_traits.h:320:12: note: ‘std::__is_pointer’ declared here
>   320 |     struct __is_pointer
>       |            ^~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:992:7: error: ‘constexpr’ static data member ‘min’ must have an initializer
>   992 |       min() _GLIBCXX_USE_NOEXCEPT { return 0; }
>       |       ^~~
> /usr/include/c++/11/limits:992:7: error: expected ‘;’ at end of member declaration
>   992 |       min() _GLIBCXX_USE_NOEXCEPT { return 0; }
>       |       ^~~
>       |          ;
> In file included from /usr/include/c++/11/cstdlib:41,
>                  from /usr/include/c++/11/stdlib.h:36,
>                  from /usr/include/pm_config.h:185,
>                  from /usr/include/pm.h:16,
>                  from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/c++/11/limits:992:13: error: expected unqualified-id before ‘noexcept’
>   992 |       min() _GLIBCXX_USE_NOEXCEPT { return 0; }
>       |             ^~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:1209:68: error: missing template arguments before ‘)’ token
>  1209 |                               || __is_pointer<_ValueType1>::__value)
>       |                                                                    ^
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:995:7: error: ‘constexpr’ static data member ‘max’ must have an initializer
>   995 |       max() _GLIBCXX_USE_NOEXCEPT { return __SHRT_MAX__ * 2U + 1; }
>       |       ^~~
> /usr/include/c++/11/limits:995:7: error: expected ‘;’ at end of member declaration
>   995 |       max() _GLIBCXX_USE_NOEXCEPT { return __SHRT_MAX__ * 2U + 1; }
>       |       ^~~
>       |          ;
> In file included from /usr/include/c++/11/cstdlib:41,
>                  from /usr/include/c++/11/stdlib.h:36,
>                  from /usr/include/pm_config.h:185,
>                  from /usr/include/pm.h:16,
>                  from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/c++/11/limits:995:13: error: expected unqualified-id before ‘noexcept’
>   995 |       max() _GLIBCXX_USE_NOEXCEPT { return __SHRT_MAX__ * 2U + 1; }
>       |             ^~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1065:7: error: ‘constexpr’ static data member ‘min’ must have an initializer
>  1065 |       min() _GLIBCXX_USE_NOEXCEPT { return -__INT_MAX__ - 1; }
>       |       ^~~
> /usr/include/c++/11/limits:1065:7: error: expected ‘;’ at end of member declaration
>  1065 |       min() _GLIBCXX_USE_NOEXCEPT { return -__INT_MAX__ - 1; }
>       |       ^~~
>       |          ;
> In file included from /usr/include/c++/11/cstdlib:41,
>                  from /usr/include/c++/11/stdlib.h:36,
>                  from /usr/include/pm_config.h:185,
>                  from /usr/include/pm.h:16,
>                  from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/c++/11/limits:1065:13: error: expected unqualified-id before ‘noexcept’
>  1065 |       min() _GLIBCXX_USE_NOEXCEPT { return -__INT_MAX__ - 1; }
>       |             ^~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1068:7: error: ‘constexpr’ static data member ‘max’ must have an initializer
>  1068 |       max() _GLIBCXX_USE_NOEXCEPT { return __INT_MAX__; }
>       |       ^~~
> /usr/include/c++/11/bits/stl_algobase.h:1210:33: error: ‘__memcmpable’ was not declared in this scope; did you mean ‘std::__memcmpable’?
>  1210 |                              && __memcmpable<_II1, _II2>::__value);
>       |                                 ^~~~~~~~~~~~
>       |                                 std::__memcmpable
> /usr/include/c++/11/limits:1068:7: error: expected ‘;’ at end of member declaration
>  1068 |       max() _GLIBCXX_USE_NOEXCEPT { return __INT_MAX__; }
>       |       ^~~
>       |          ;
> In file included from /usr/include/c++/11/cstdlib:41,
>                  from /usr/include/c++/11/stdlib.h:36,
>                  from /usr/include/pm_config.h:185,
>                  from /usr/include/pm.h:16,
>                  from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/c++/11/limits:1068:13: error: expected unqualified-id before ‘noexcept’
>  1068 |       max() _GLIBCXX_USE_NOEXCEPT { return __INT_MAX__; }
>       |             ^~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1132:7: error: ‘constexpr’ static data member ‘min’ must have an initializer
>  1132 |       min() _GLIBCXX_USE_NOEXCEPT { return 0; }
>       |       ^~~
> /usr/include/c++/11/limits:1132:7: error: expected ‘;’ at end of member declaration
>  1132 |       min() _GLIBCXX_USE_NOEXCEPT { return 0; }
>       |       ^~~
>       |          ;
> In file included from /usr/include/c++/11/cmath:42,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/cpp_type_traits.h:464:12: note: ‘std::__memcmpable’ declared here
>   464 |     struct __memcmpable
>       |            ^~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:1210:50: error: expected primary-expression before ‘,’ token
>  1210 |                              && __memcmpable<_II1, _II2>::__value);
>       |                                                  ^
> In file included from /usr/include/c++/11/cstdlib:41,
>                  from /usr/include/c++/11/stdlib.h:36,
>                  from /usr/include/pm_config.h:185,
>                  from /usr/include/pm.h:16,
>                  from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/c++/11/limits:1132:13: error: expected unqualified-id before ‘noexcept’
>  1132 |       min() _GLIBCXX_USE_NOEXCEPT { return 0; }
>       |             ^~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1135:7: error: ‘constexpr’ static data member ‘max’ must have an initializer
>  1135 |       max() _GLIBCXX_USE_NOEXCEPT { return __INT_MAX__ * 2U + 1; }
>       |       ^~~
> /usr/include/c++/11/bits/stl_algobase.h:1210:56: error: expected primary-expression before ‘>’ token
>  1210 |                              && __memcmpable<_II1, _II2>::__value);
>       |                                                        ^
> /usr/include/c++/11/limits:1135:7: error: expected ‘;’ at end of member declaration
>  1135 |       max() _GLIBCXX_USE_NOEXCEPT { return __INT_MAX__ * 2U + 1; }
>       |       ^~~
>       |          ;
> In file included from /usr/include/c++/11/cstdlib:41,
>                  from /usr/include/c++/11/stdlib.h:36,
>                  from /usr/include/pm_config.h:185,
>                  from /usr/include/pm.h:16,
>                  from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/c++/11/limits:1135:13: error: expected unqualified-id before ‘noexcept’
>  1135 |       max() _GLIBCXX_USE_NOEXCEPT { return __INT_MAX__ * 2U + 1; }
>       |             ^~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1204:7: error: ‘constexpr’ static data member ‘min’ must have an initializer
>  1204 |       min() _GLIBCXX_USE_NOEXCEPT { return -__LONG_MAX__ - 1; }
>       |       ^~~
> /usr/include/c++/11/limits:1204:7: error: expected ‘;’ at end of member declaration
>  1204 |       min() _GLIBCXX_USE_NOEXCEPT { return -__LONG_MAX__ - 1; }
>       |       ^~~
>       |          ;
> In file included from /usr/include/c++/11/cstdlib:41,
>                  from /usr/include/c++/11/stdlib.h:36,
>                  from /usr/include/pm_config.h:185,
>                  from /usr/include/pm.h:16,
>                  from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/c++/11/limits:1204:13: error: expected unqualified-id before ‘noexcept’
>  1204 |       min() _GLIBCXX_USE_NOEXCEPT { return -__LONG_MAX__ - 1; }
>       |             ^~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1207:7: error: ‘constexpr’ static data member ‘max’ must have an initializer
>  1207 |       max() _GLIBCXX_USE_NOEXCEPT { return __LONG_MAX__; }
>       |       ^~~
> /usr/include/c++/11/limits:1207:7: error: expected ‘;’ at end of member declaration
>  1207 |       max() _GLIBCXX_USE_NOEXCEPT { return __LONG_MAX__; }
>       |       ^~~
>       |          ;
> /usr/include/c++/11/bits/stl_algobase.h:1210:66: error: missing template arguments before ‘)’ token
>  1210 |                              && __memcmpable<_II1, _II2>::__value);
>       |                                                                  ^
> In file included from /usr/include/c++/11/cstdlib:41,
>                  from /usr/include/c++/11/stdlib.h:36,
>                  from /usr/include/pm_config.h:185,
>                  from /usr/include/pm.h:16,
>                  from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/c++/11/limits:1207:13: error: expected unqualified-id before ‘noexcept’
>  1207 |       max() _GLIBCXX_USE_NOEXCEPT { return __LONG_MAX__; }
>       |             ^~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1271:7: error: ‘constexpr’ static data member ‘min’ must have an initializer
>  1271 |       min() _GLIBCXX_USE_NOEXCEPT { return 0; }
>       |       ^~~
> /usr/include/c++/11/bits/stl_algobase.h:1211:19: error: ‘__equal’ is not a member of ‘std’; did you mean ‘__equal’?
>  1211 |       return std::__equal<__simple>::equal(__first1, __last1, __first2);
>       |                   ^~~~~~~
> /usr/include/c++/11/limits:1271:7: error: expected ‘;’ at end of member declaration
>  1271 |       min() _GLIBCXX_USE_NOEXCEPT { return 0; }
>       |       ^~~
>       |          ;
> /usr/include/c++/11/bits/stl_algobase.h:1154:12: note: ‘__equal’ declared here
>  1154 |     struct __equal
>       |            ^~~~~~~
> In file included from /usr/include/c++/11/cstdlib:41,
>                  from /usr/include/c++/11/stdlib.h:36,
>                  from /usr/include/pm_config.h:185,
>                  from /usr/include/pm.h:16,
>                  from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/c++/11/limits:1271:13: error: expected unqualified-id before ‘noexcept’
>  1271 |       min() _GLIBCXX_USE_NOEXCEPT { return 0; }
>       |             ^~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1274:7: error: ‘constexpr’ static data member ‘max’ must have an initializer
>  1274 |       max() _GLIBCXX_USE_NOEXCEPT { return __LONG_MAX__ * 2UL + 1; }
>       |       ^~~
> /usr/include/c++/11/limits:1274:7: error: expected ‘;’ at end of member declaration
>  1274 |       max() _GLIBCXX_USE_NOEXCEPT { return __LONG_MAX__ * 2UL + 1; }
>       |       ^~~
>       |          ;
> In file included from /usr/include/c++/11/cstdlib:41,
>                  from /usr/include/c++/11/stdlib.h:36,
>                  from /usr/include/pm_config.h:185,
>                  from /usr/include/pm.h:16,
>                  from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/c++/11/limits:1274:13: error: expected unqualified-id before ‘noexcept’
>  1274 |       max() _GLIBCXX_USE_NOEXCEPT { return __LONG_MAX__ * 2UL + 1; }
>       |             ^~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1344:7: error: ‘constexpr’ static data member ‘min’ must have an initializer
>  1344 |       min() _GLIBCXX_USE_NOEXCEPT { return -__LONG_LONG_MAX__ - 1; }
>       |       ^~~
> /usr/include/c++/11/limits:1344:7: error: expected ‘;’ at end of member declaration
>  1344 |       min() _GLIBCXX_USE_NOEXCEPT { return -__LONG_LONG_MAX__ - 1; }
>       |       ^~~
>       |          ;
> In file included from /usr/include/c++/11/cstdlib:41,
>                  from /usr/include/c++/11/stdlib.h:36,
>                  from /usr/include/pm_config.h:185,
>                  from /usr/include/pm.h:16,
>                  from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/c++/11/limits:1344:13: error: expected unqualified-id before ‘noexcept’
>  1344 |       min() _GLIBCXX_USE_NOEXCEPT { return -__LONG_LONG_MAX__ - 1; }
>       |             ^~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1347:7: error: ‘constexpr’ static data member ‘max’ must have an initializer
>  1347 |       max() _GLIBCXX_USE_NOEXCEPT { return __LONG_LONG_MAX__; }
>       |       ^~~
> /usr/include/c++/11/limits:1347:7: error: expected ‘;’ at end of member declaration
>  1347 |       max() _GLIBCXX_USE_NOEXCEPT { return __LONG_LONG_MAX__; }
>       |       ^~~
>       |          ;
> In file included from /usr/include/c++/11/cstdlib:41,
>                  from /usr/include/c++/11/stdlib.h:36,
>                  from /usr/include/pm_config.h:185,
>                  from /usr/include/pm.h:16,
>                  from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/c++/11/limits:1347:13: error: expected unqualified-id before ‘noexcept’
>  1347 |       max() _GLIBCXX_USE_NOEXCEPT { return __LONG_LONG_MAX__; }
>       |             ^~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1211:38: error: ‘::equal’ has not been declared
>  1211 |       return std::__equal<__simple>::equal(__first1, __last1, __first2);
>       |                                      ^~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1414:7: error: ‘constexpr’ static data member ‘min’ must have an initializer
>  1414 |       min() _GLIBCXX_USE_NOEXCEPT { return 0; }
>       |       ^~~
> /usr/include/c++/11/limits:1414:7: error: expected ‘;’ at end of member declaration
>  1414 |       min() _GLIBCXX_USE_NOEXCEPT { return 0; }
>       |       ^~~
>       |          ;
> In file included from /usr/include/c++/11/cstdlib:41,
>                  from /usr/include/c++/11/stdlib.h:36,
>                  from /usr/include/pm_config.h:185,
>                  from /usr/include/pm.h:16,
>                  from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/c++/11/limits:1414:13: error: expected unqualified-id before ‘noexcept’
>  1414 |       min() _GLIBCXX_USE_NOEXCEPT { return 0; }
>       |             ^~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1417:7: error: ‘constexpr’ static data member ‘max’ must have an initializer
>  1417 |       max() _GLIBCXX_USE_NOEXCEPT { return __LONG_LONG_MAX__ * 2ULL + 1; }
>       |       ^~~
> /usr/include/c++/11/limits:1417:7: error: expected ‘;’ at end of member declaration
>  1417 |       max() _GLIBCXX_USE_NOEXCEPT { return __LONG_LONG_MAX__ * 2ULL + 1; }
>       |       ^~~
>       |          ;
> In file included from /usr/include/c++/11/cstdlib:41,
>                  from /usr/include/c++/11/stdlib.h:36,
>                  from /usr/include/pm_config.h:185,
>                  from /usr/include/pm.h:16,
>                  from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/c++/11/limits:1417:13: error: expected unqualified-id before ‘noexcept’
>  1417 |       max() _GLIBCXX_USE_NOEXCEPT { return __LONG_LONG_MAX__ * 2ULL + 1; }
>       |             ^~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1635:3: error: ‘constexpr’ static data member ‘min’ must have an initializer
>  1635 |   __INT_N(__GLIBCXX_TYPE_INT_N_0, __GLIBCXX_BITSIZE_INT_N_0,
>       |   ^~~~~~~
> /usr/include/c++/11/limits:1635:3: error: expected ‘;’ at end of member declaration
> In file included from /usr/include/c++/11/cstdlib:41,
>                  from /usr/include/c++/11/stdlib.h:36,
>                  from /usr/include/pm_config.h:185,
>                  from /usr/include/pm.h:16,
>                  from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/c++/11/limits:1635:3: error: expected unqualified-id before ‘noexcept’
>  1635 |   __INT_N(__GLIBCXX_TYPE_INT_N_0, __GLIBCXX_BITSIZE_INT_N_0,
>       |   ^~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1635:3: error: ‘constexpr’ static data member ‘max’ must have an initializer
>  1635 |   __INT_N(__GLIBCXX_TYPE_INT_N_0, __GLIBCXX_BITSIZE_INT_N_0,
>       |   ^~~~~~~
> /usr/include/c++/11/limits:1635:3: error: expected ‘;’ at end of member declaration
> In file included from /usr/include/c++/11/cstdlib:41,
>                  from /usr/include/c++/11/stdlib.h:36,
>                  from /usr/include/pm_config.h:185,
>                  from /usr/include/pm.h:16,
>                  from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/c++/11/limits:1635:3: error: expected unqualified-id before ‘noexcept’
>  1635 |   __INT_N(__GLIBCXX_TYPE_INT_N_0, __GLIBCXX_BITSIZE_INT_N_0,
>       |   ^~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1635:3: error: ‘constexpr’ static data member ‘min’ must have an initializer
>  1635 |   __INT_N(__GLIBCXX_TYPE_INT_N_0, __GLIBCXX_BITSIZE_INT_N_0,
>       |   ^~~~~~~
> /usr/include/c++/11/limits:1635:3: error: expected ‘;’ at end of member declaration
> In file included from /usr/include/c++/11/cstdlib:41,
>                  from /usr/include/c++/11/stdlib.h:36,
>                  from /usr/include/pm_config.h:185,
>                  from /usr/include/pm.h:16,
>                  from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/c++/11/limits:1635:3: error: expected unqualified-id before ‘noexcept’
>  1635 |   __INT_N(__GLIBCXX_TYPE_INT_N_0, __GLIBCXX_BITSIZE_INT_N_0,
>       |   ^~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1635:3: error: ‘constexpr’ static data member ‘max’ must have an initializer
>  1635 |   __INT_N(__GLIBCXX_TYPE_INT_N_0, __GLIBCXX_BITSIZE_INT_N_0,
>       |   ^~~~~~~
> /usr/include/c++/11/limits:1635:3: error: expected ‘;’ at end of member declaration
> In file included from /usr/include/c++/11/cstdlib:41,
>                  from /usr/include/c++/11/stdlib.h:36,
>                  from /usr/include/pm_config.h:185,
>                  from /usr/include/pm.h:16,
>                  from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/c++/11/limits:1635:3: error: expected unqualified-id before ‘noexcept’
>  1635 |   __INT_N(__GLIBCXX_TYPE_INT_N_0, __GLIBCXX_BITSIZE_INT_N_0,
>       |   ^~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘bool __equal_aux(_II1, _II1, _II2)’:
> /usr/include/c++/11/bits/stl_algobase.h:1219:19: error: ‘__equal_aux1’ is not a member of ‘std’; did you mean ‘__equal_aux1<_Tp1, _Ref1, _Ptr1, _Tp2, _Ref2, _Ptr2>’?
>  1219 |       return std::__equal_aux1(std::__niter_base(__first1),
>       |                   ^~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1673:7: error: ‘constexpr’ static data member ‘min’ must have an initializer
>  1673 |       min() _GLIBCXX_USE_NOEXCEPT { return __FLT_MIN__; }
>       |       ^~~
> /usr/include/c++/11/bits/stl_algobase.h:1192:5: note: ‘__equal_aux1<_Tp1, _Ref1, _Ptr1, _Tp2, _Ref2, _Ptr2>’ declared here
>  1192 |     __equal_aux1(_GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |     ^~~~~~~~~~~~
> /usr/include/c++/11/limits:1673:7: error: expected ‘;’ at end of member declaration
>  1673 |       min() _GLIBCXX_USE_NOEXCEPT { return __FLT_MIN__; }
>       |       ^~~
>       |          ;
> In file included from /usr/include/c++/11/cstdlib:41,
>                  from /usr/include/c++/11/stdlib.h:36,
>                  from /usr/include/pm_config.h:185,
>                  from /usr/include/pm.h:16,
>                  from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/c++/11/limits:1673:13: error: expected unqualified-id before ‘noexcept’
>  1673 |       min() _GLIBCXX_USE_NOEXCEPT { return __FLT_MIN__; }
>       |             ^~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h: At global scope:
> /usr/include/c++/11/bits/stl_algobase.h:1259:21: error: ‘random_access_iterator_tag’ was not declared in this scope; did you mean ‘std::random_access_iterator_tag’?
>  1259 |     struct __lc_rai<random_access_iterator_tag, random_access_iterator_tag>
>       |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                     std::random_access_iterator_tag
> In file included from /usr/include/c++/11/bits/stl_algobase.h:65,
>                  from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_iterator_base_types.h:107:10: note: ‘std::random_access_iterator_tag’ declared here
>   107 |   struct random_access_iterator_tag : public bidirectional_iterator_tag { };
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1676:7: error: ‘constexpr’ static data member ‘max’ must have an initializer
>  1676 |       max() _GLIBCXX_USE_NOEXCEPT { return __FLT_MAX__; }
>       |       ^~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:1259:49: error: ‘random_access_iterator_tag’ was not declared in this scope; did you mean ‘std::random_access_iterator_tag’?
>  1259 |     struct __lc_rai<random_access_iterator_tag, random_access_iterator_tag>
>       |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                                                 std::random_access_iterator_tag
> /usr/include/c++/11/limits:1676:7: error: expected ‘;’ at end of member declaration
>  1676 |       max() _GLIBCXX_USE_NOEXCEPT { return __FLT_MAX__; }
>       |       ^~~
>       |          ;
> In file included from /usr/include/c++/11/cstdlib:41,
>                  from /usr/include/c++/11/stdlib.h:36,
>                  from /usr/include/pm_config.h:185,
>                  from /usr/include/pm.h:16,
>                  from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/c++/11/limits:1676:13: error: expected unqualified-id before ‘noexcept’
>  1676 |       max() _GLIBCXX_USE_NOEXCEPT { return __FLT_MAX__; }
>       |             ^~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1748:7: error: ‘constexpr’ static data member ‘min’ must have an initializer
>  1748 |       min() _GLIBCXX_USE_NOEXCEPT { return __DBL_MIN__; }
>       |       ^~~
> /usr/include/c++/11/limits:1748:7: error: expected ‘;’ at end of member declaration
>  1748 |       min() _GLIBCXX_USE_NOEXCEPT { return __DBL_MIN__; }
>       |       ^~~
>       |          ;
> In file included from /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.cpp:37:
> /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.h:38:10: warning: ‘uint32’ is deprecated [-Wdeprecated-declarations]
>    38 |   uint32 width, height;
>       |          ^~~~~
> In file included from /usr/include/c++/11/cstdlib:41,
>                  from /usr/include/c++/11/stdlib.h:36,
>                  from /usr/include/pm_config.h:185,
>                  from /usr/include/pm.h:16,
>                  from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/c++/11/limits:1748:13: error: expected unqualified-id before ‘noexcept’
>  1748 |       min() _GLIBCXX_USE_NOEXCEPT { return __DBL_MIN__; }
>       |             ^~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/tiffio.h:31,
>                  from /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.h:31,
>                  from /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.cpp:37:
> /usr/include/x86_64-linux-gnu/tiff.h:84:38: note: declared here
>    84 | typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED;
>       |                                      ^~~~~~
> In file included from /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.cpp:37:
> /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.h:38:17: warning: ‘uint32’ is deprecated [-Wdeprecated-declarations]
>    38 |   uint32 width, height;
>       |                 ^~~~~~
> In file included from /usr/include/x86_64-linux-gnu/tiffio.h:31,
>                  from /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.h:31,
>                  from /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.cpp:37:
> /usr/include/x86_64-linux-gnu/tiff.h:84:38: note: declared here
>    84 | typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED;
>       |                                      ^~~~~~
> In file included from /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.cpp:37:
> /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.h:40:10: warning: ‘uint16’ is deprecated [-Wdeprecated-declarations]
>    40 |   uint16 comp;                  /// compression type
>       |          ^~~~
> In file included from /usr/include/x86_64-linux-gnu/tiffio.h:31,
>                  from /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.h:31,
>                  from /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.cpp:37:
> /usr/include/x86_64-linux-gnu/tiff.h:81:38: note: declared here
>    81 | typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED;
>       |                                      ^~~~~~
> In file included from /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.cpp:37:
> /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.h:41:10: warning: ‘uint16’ is deprecated [-Wdeprecated-declarations]
>    41 |   uint16 phot;                  /// type of photometric data
>       |          ^~~~
> In file included from /usr/include/x86_64-linux-gnu/tiffio.h:31,
>                  from /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.h:31,
>                  from /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.cpp:37:
> /usr/include/x86_64-linux-gnu/tiff.h:81:38: note: declared here
>    81 | typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED;
>       |                                      ^~~~~~
> In file included from /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.cpp:37:
> /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.h:43:10: warning: ‘uint16’ is deprecated [-Wdeprecated-declarations]
>    43 |   uint16 bps;                   /// bits per sample
>       |          ^~~
> In file included from /usr/include/x86_64-linux-gnu/tiffio.h:31,
>                  from /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.h:31,
>                  from /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.cpp:37:
> /usr/include/x86_64-linux-gnu/tiff.h:81:38: note: declared here
>    81 | typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED;
>       |                                      ^~~~~~
> In file included from /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.cpp:37:
> /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.h:44:10: warning: ‘uint16’ is deprecated [-Wdeprecated-declarations]
>    44 |   uint16 nSamples;              /// number of channels in tiff file (only 1-3 are used)
>       |          ^~~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/tiffio.h:31,
>                  from /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.h:31,
>                  from /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.cpp:37:
> /usr/include/x86_64-linux-gnu/tiff.h:81:38: note: declared here
>    81 | typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED;
>       |                                      ^~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1751:7: error: ‘constexpr’ static data member ‘max’ must have an initializer
>  1751 |       max() _GLIBCXX_USE_NOEXCEPT { return __DBL_MAX__; }
>       |       ^~~
> /usr/include/c++/11/limits:1751:7: error: expected ‘;’ at end of member declaration
>  1751 |       max() _GLIBCXX_USE_NOEXCEPT { return __DBL_MAX__; }
>       |       ^~~
>       |          ;
> In file included from /usr/include/c++/11/cstdlib:41,
>                  from /usr/include/c++/11/stdlib.h:36,
>                  from /usr/include/pm_config.h:185,
>                  from /usr/include/pm.h:16,
>                  from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/c++/11/limits:1751:13: error: expected unqualified-id before ‘noexcept’
>  1751 |       max() _GLIBCXX_USE_NOEXCEPT { return __DBL_MAX__; }
>       |             ^~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1823:7: error: ‘constexpr’ static data member ‘min’ must have an initializer
>  1823 |       min() _GLIBCXX_USE_NOEXCEPT { return __LDBL_MIN__; }
>       |       ^~~
> /usr/include/c++/11/limits:1823:7: error: expected ‘;’ at end of member declaration
>  1823 |       min() _GLIBCXX_USE_NOEXCEPT { return __LDBL_MIN__; }
>       |       ^~~
>       |          ;
> /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.cpp: In constructor ‘HDRTiffReader::HDRTiffReader(const char*)’:
> /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.cpp:80:12: warning: ‘uint16’ is deprecated [-Wdeprecated-declarations]
>    80 |   uint16 * extra_sample_types=0;
>       |            ^~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/cstdlib:41,
>                  from /usr/include/c++/11/stdlib.h:36,
>                  from /usr/include/pm_config.h:185,
>                  from /usr/include/pm.h:16,
>                  from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/c++/11/limits:1823:13: error: expected unqualified-id before ‘noexcept’
>  1823 |       min() _GLIBCXX_USE_NOEXCEPT { return __LDBL_MIN__; }
>       |             ^~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/tiffio.h:31,
>                  from /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.h:31,
>                  from /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.cpp:37:
> /usr/include/x86_64-linux-gnu/tiff.h:81:38: note: declared here
>    81 | typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED;
>       |                                      ^~~~~~
> /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.cpp:81:10: warning: ‘uint16’ is deprecated [-Wdeprecated-declarations]
>    81 |   uint16 extra_samples_per_pixel=0;
>       |          ^~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/tiffio.h:31,
>                  from /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.h:31,
>                  from /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.cpp:37:
> /usr/include/x86_64-linux-gnu/tiff.h:81:38: note: declared here
>    81 | typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED;
>       |                                      ^~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:46,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/limits:1826:7: error: ‘constexpr’ static data member ‘max’ must have an initializer
>  1826 |       max() _GLIBCXX_USE_NOEXCEPT { return __LDBL_MAX__; }
>       |       ^~~
> /usr/include/c++/11/limits:1826:7: error: expected ‘;’ at end of member declaration
>  1826 |       max() _GLIBCXX_USE_NOEXCEPT { return __LDBL_MAX__; }
>       |       ^~~
>       |          ;
> In file included from /usr/include/c++/11/cstdlib:41,
>                  from /usr/include/c++/11/stdlib.h:36,
>                  from /usr/include/pm_config.h:185,
>                  from /usr/include/pm.h:16,
>                  from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/c++/11/limits:1826:13: error: expected unqualified-id before ‘noexcept’
>  1826 |       max() _GLIBCXX_USE_NOEXCEPT { return __LDBL_MAX__; }
>       |             ^~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/stl_algobase.h:65,
>                  from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_iterator_base_types.h:107:10: note: ‘std::random_access_iterator_tag’ declared here
>   107 |   struct random_access_iterator_tag : public bidirectional_iterator_tag { };
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:1259:75: error: template argument 1 is invalid
>  1259 |     struct __lc_rai<random_access_iterator_tag, random_access_iterator_tag>
>       |                                                                           ^
> /usr/include/c++/11/bits/stl_algobase.h:1259:75: error: template argument 2 is invalid
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘bool __lexicographical_compare_impl(_II1, _II1, _II2, _II2, _Compare)’:
> /usr/include/c++/11/bits/stl_algobase.h:1287:24: error: expected nested-name-specifier before ‘iterator_traits’
>  1287 |       typedef typename iterator_traits<_II1>::iterator_category _Category1;
>       |                        ^~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1287:39: error: expected initializer before ‘<’ token
>  1287 |       typedef typename iterator_traits<_II1>::iterator_category _Category1;
>       |                                       ^
> /usr/include/c++/11/bits/stl_algobase.h:1288:24: error: expected nested-name-specifier before ‘iterator_traits’
>  1288 |       typedef typename iterator_traits<_II2>::iterator_category _Category2;
>       |                        ^~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1288:39: error: expected initializer before ‘<’ token
>  1288 |       typedef typename iterator_traits<_II2>::iterator_category _Category2;
>       |                                       ^
> In file included from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/c++/11/tr1/gamma.tcc: In function ‘_Tp std::__detail::__log_gamma(_Tp)’:
> /usr/include/c++/11/tr1/gamma.tcc:234:25: error: expected unqualified-id before ‘(’ token
>   234 |                  = std::abs(std::sin(__numeric_constants<_Tp>::__pi() * __x));
>       |                         ^~~
> /usr/include/c++/11/bits/stl_algobase.h:1289:20: error: ‘__lc_rai’ in namespace ‘std’ does not name a template type
>  1289 |       typedef std::__lc_rai<_Category1, _Category2> __rai_type;
>       |                    ^~~~~~~~
> /usr/include/c++/11/tr1/gamma.tcc: In function ‘_Tp std::__detail::__psi_series(_Tp)’:
> /usr/include/c++/11/tr1/gamma.tcc:366:20: error: expected unqualified-id before ‘(’ token
>   366 |           if (std::abs(__term / __sum) < std::numeric_limits<_Tp>::epsilon())
>       |                    ^~~
> /usr/include/c++/11/bits/stl_algobase.h:1291:17: error: ‘__rai_type’ has not been declared
>  1291 |       __last1 = __rai_type::__newlast1(__first1, __last1, __first2, __last2);
>       |                 ^~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1292:37: error: ‘__rai_type’ has not been declared
>  1292 |       for (; __first1 != __last1 && __rai_type::__cnd2(__first2, __last2);
>       |                                     ^~~~~~~~~~
> /usr/include/c++/11/tr1/gamma.tcc: In function ‘_Tp std::__detail::__psi_asymp(_Tp)’:
> /usr/include/c++/11/tr1/gamma.tcc:398:20: error: expected unqualified-id before ‘(’ token
>   398 |           if (std::abs(__term / __sum) < std::numeric_limits<_Tp>::epsilon())
>       |                    ^~~
> /usr/include/c++/11/tr1/gamma.tcc: In function ‘_Tp std::__detail::__psi(_Tp)’:
> /usr/include/c++/11/tr1/gamma.tcc:423:28: error: expected unqualified-id before ‘(’ token
>   423 |       if (__n <= 0 && std::abs(__x - _Tp(__n)) < __eps)
>       |                            ^~~
> /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.cpp: In member function ‘void HDRTiffReader::readImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)’:
> /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.cpp:180:13: warning: ‘uint16’ is deprecated [-Wdeprecated-declarations]
>   180 |     uint16* wp;
>       |             ^~
> In file included from /usr/include/x86_64-linux-gnu/tiffio.h:31,
>                  from /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.h:31,
>                  from /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.cpp:37:
> /usr/include/x86_64-linux-gnu/tiff.h:81:38: note: declared here
>    81 | typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED;
>       |                                      ^~~~~~
> /usr/include/c++/11/tr1/bessel_function.tcc: In function ‘void std::__detail::__gamma_temme(_Tp, _Tp&, _Tp&, _Tp&, _Tp&)’:
> /usr/include/c++/11/tr1/bessel_function.tcc:111:16: error: expected unqualified-id before ‘(’ token
>   111 |       if (std::abs(__mu) < std::numeric_limits<_Tp>::epsilon())
>       |                ^~~
> /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.cpp:181:12: warning: ‘uint8’ is deprecated [-Wdeprecated-declarations]
>   181 |     uint8* bp;
>       |            ^~
> In file included from /usr/include/x86_64-linux-gnu/tiffio.h:31,
>                  from /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.h:31,
>                  from /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.cpp:37:
> /usr/include/x86_64-linux-gnu/tiff.h:78:38: note: declared here
>    78 | typedef TIFF_MSC_DEPRECATED uint8_t  uint8  TIFF_GCC_DEPRECATED;
>       |                                      ^~~~~
> /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.cpp:186:10: warning: ‘uint32’ is deprecated [-Wdeprecated-declarations]
>   186 |   uint32 imagelength;
>       |          ^~~~~~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/tiffio.h:31,
>                  from /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.h:31,
>                  from /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.cpp:37:
> /usr/include/x86_64-linux-gnu/tiff.h:84:38: note: declared here
>    84 | typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED;
>       |                                      ^~~~~~
> /usr/include/c++/11/tr1/bessel_function.tcc: In function ‘void std::__detail::__bessel_jn(_Tp, _Tp, _Tp&, _Tp&, _Tp&, _Tp&)’:
> /usr/include/c++/11/tr1/bessel_function.tcc:174:28: error: expected unqualified-id before ‘(’ token
>   174 |                     : std::max(0, static_cast<int>(__nu - __x + _Tp(1.5L))));
>       |                            ^~~
> /usr/include/c++/11/tr1/bessel_function.tcc:193:20: error: expected unqualified-id before ‘(’ token
>   193 |           if (std::abs(__d) < __fp_min)
>       |                    ^~~
> /usr/include/c++/11/tr1/bessel_function.tcc:196:20: error: expected unqualified-id before ‘(’ token
>   196 |           if (std::abs(__c) < __fp_min)
>       |                    ^~~
> /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.cpp:191:10: warning: ‘uint32’ is deprecated [-Wdeprecated-declarations]
>   191 |   uint32 scanlinesize = TIFFScanlineSize(tif);
>       |          ^~~~~~~~~~~~
> /usr/include/c++/11/tr1/bessel_function.tcc:203:20: error: expected unqualified-id before ‘(’ token
>   203 |           if (std::abs(__del - _Tp(1)) < __eps)
>       |                    ^~~
> In file included from /usr/include/x86_64-linux-gnu/tiffio.h:31,
>                  from /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.h:31,
>                  from /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.cpp:37:
> /usr/include/x86_64-linux-gnu/tiff.h:84:38: note: declared here
>    84 | typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED;
>       |                                      ^~~~~~
> /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.cpp:198:14: warning: ‘uint32’ is deprecated [-Wdeprecated-declarations]
>   198 |   for(uint32 row = 0; row < imagelength; row++)
>       |              ^~~
> In file included from /usr/include/x86_64-linux-gnu/tiffio.h:31,
>                  from /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.h:31,
>                  from /<<PKGBUILDDIR>>/src/fileformat/hdrtiffio.cpp:37:
> /usr/include/x86_64-linux-gnu/tiff.h:84:38: note: declared here
>    84 | typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED;
>       |                                      ^~~~~~
> /usr/include/c++/11/tr1/bessel_function.tcc:229:30: error: expected unqualified-id before ‘(’ token
>   229 |           _Tp __fact = (std::abs(__pimu) < __eps
>       |                              ^~~
> /usr/include/c++/11/tr1/bessel_function.tcc:233:31: error: expected unqualified-id before ‘(’ token
>   233 |           _Tp __fact2 = (std::abs(__e) < __eps
>       |                               ^~~
> /usr/include/c++/11/tr1/bessel_function.tcc:243:31: error: expected unqualified-id before ‘(’ token
>   243 |           _Tp __fact3 = (std::abs(__pimu2) < __eps
>       |                               ^~~
> /usr/include/c++/11/tr1/bessel_function.tcc:260:25: error: expected unqualified-id before ‘(’ token
>   260 |               if ( std::abs(__del) < __eps * (_Tp(1) + std::abs(__sum)) )
>       |                         ^~~
> /usr/include/c++/11/tr1/bessel_function.tcc:260:61: error: expected unqualified-id before ‘(’ token
>   260 |               if ( std::abs(__del) < __eps * (_Tp(1) + std::abs(__sum)) )
>       |                                                             ^~~
> /usr/include/c++/11/bits/stl_algobase.h: In static member function ‘static bool __lexicographical_compare<_BoolType>::__lc(_II1, _II1, _II2, _II2)’:
> /usr/include/c++/11/bits/stl_algobase.h:1312:23: error: ‘__lexicographical_compare_impl’ is not a member of ‘std’; did you mean ‘__lexicographical_compare_impl’?
>  1312 |           return std::__lexicographical_compare_impl(__first1, __last1,
>       |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/tr1/bessel_function.tcc:296:24: error: expected unqualified-id before ‘(’ token
>   296 |               if (std::abs(__dr) + std::abs(__di) < __fp_min)
>       |                        ^~~
> /usr/include/c++/11/tr1/bessel_function.tcc:296:41: error: expected unqualified-id before ‘(’ token
>   296 |               if (std::abs(__dr) + std::abs(__di) < __fp_min)
>       |                                         ^~~
> /usr/include/c++/11/bits/stl_algobase.h:1283:5: note: ‘__lexicographical_compare_impl’ declared here
>  1283 |     __lexicographical_compare_impl(_II1 __first1, _II1 __last1,
>       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/tr1/bessel_function.tcc:301:24: error: expected unqualified-id before ‘(’ token
>   301 |               if (std::abs(__cr) + std::abs(__ci) < __fp_min)
>       |                        ^~~
> /usr/include/c++/11/tr1/bessel_function.tcc:301:41: error: expected unqualified-id before ‘(’ token
>   301 |               if (std::abs(__cr) + std::abs(__ci) < __fp_min)
>       |                                         ^~~
> /usr/include/c++/11/tr1/bessel_function.tcc:311:24: error: expected unqualified-id before ‘(’ token
>   311 |               if (std::abs(__dlr - _Tp(1)) + std::abs(__dli) < __eps)
>       |                        ^~~
> /usr/include/c++/11/tr1/bessel_function.tcc:311:51: error: expected unqualified-id before ‘(’ token
>   311 |               if (std::abs(__dlr - _Tp(1)) + std::abs(__dli) < __eps)
>       |                                                   ^~~
> /usr/include/c++/11/bits/stl_algobase.h: At global scope:
> /usr/include/c++/11/bits/stl_algobase.h:1349:16: error: ‘ptrdiff_t’ does not name a type
>  1349 |         static ptrdiff_t
>       |                ^~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:72:1: note: ‘ptrdiff_t’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?
>    71 | #include <bits/predefined_ops.h>
>   +++ |+#include <cstddef>
>    72 | #if __cplusplus >= 201103L
> /usr/include/c++/11/tr1/bessel_function.tcc: In function ‘void std::__detail::__cyl_bessel_jn_asymp(_Tp, _Tp, _Tp&, _Tp&)’:
> /usr/include/c++/11/tr1/bessel_function.tcc:385:25: error: expected unqualified-id before ‘(’ token
>   385 |           __epsP = std::abs(__term) < __eps * std::abs(__P);
>       |                         ^~~
> /usr/include/c++/11/tr1/bessel_function.tcc:385:52: error: expected unqualified-id before ‘(’ token
>   385 |           __epsP = std::abs(__term) < __eps * std::abs(__P);
>       |                                                    ^~~
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘bool __lexicographical_compare_aux1(_II1, _II1, _II2, _II2)’:
> /usr/include/c++/11/bits/stl_algobase.h:1368:24: error: expected nested-name-specifier before ‘iterator_traits’
>  1368 |       typedef typename iterator_traits<_II1>::value_type _ValueType1;
>       |                        ^~~~~~~~~~~~~~~
> /usr/include/c++/11/tr1/bessel_function.tcc:391:25: error: expected unqualified-id before ‘(’ token
>   391 |           __epsQ = std::abs(__term) < __eps * std::abs(__Q);
>       |                         ^~~
> /usr/include/c++/11/tr1/bessel_function.tcc:391:52: error: expected unqualified-id before ‘(’ token
>   391 |           __epsQ = std::abs(__term) < __eps * std::abs(__Q);
>       |                                                    ^~~
> /usr/include/c++/11/tr1/bessel_function.tcc: In function ‘_Tp std::__detail::__cyl_bessel_ij_series(_Tp, _Tp, _Tp, unsigned int)’:
> /usr/include/c++/11/tr1/bessel_function.tcc:468:20: error: expected unqualified-id before ‘(’ token
>   468 |           if (std::abs(__term / __Jn) < std::numeric_limits<_Tp>::epsilon())
>       |                    ^~~
> /usr/include/c++/11/tr1/ell_integral.tcc: In function ‘_Tp std::__detail::__ellint_rf(_Tp, _Tp, _Tp)’:
> /usr/include/c++/11/tr1/ell_integral.tcc:113:36: error: expected unqualified-id before ‘(’ token
>   113 |               _Tp __epsilon = std::max(std::abs(__xndev), std::abs(__yndev));
>       |                                    ^~~
> /usr/include/c++/11/tr1/ell_integral.tcc:113:45: error: expected unqualified-id before ‘(’ token
>   113 |               _Tp __epsilon = std::max(std::abs(__xndev), std::abs(__yndev));
>       |                                             ^~~
> /usr/include/c++/11/tr1/ell_integral.tcc:113:64: error: expected unqualified-id before ‘(’ token
>   113 |               _Tp __epsilon = std::max(std::abs(__xndev), std::abs(__yndev));
>       |                                                                ^~~
> /usr/include/c++/11/tr1/ell_integral.tcc:113:45: error: expected unqualified-id before ‘(’ token
>   113 |               _Tp __epsilon = std::max(std::abs(__xndev), std::abs(__yndev));
>       |                                             ^~~
> /usr/include/c++/11/tr1/ell_integral.tcc:113:64: error: expected unqualified-id before ‘(’ token
>   113 |               _Tp __epsilon = std::max(std::abs(__xndev), std::abs(__yndev));
>       |                                                                ^~~
> /usr/include/c++/11/tr1/ell_integral.tcc:114:32: error: expected unqualified-id before ‘(’ token
>   114 |               __epsilon = std::max(__epsilon, std::abs(__zndev));
>       |                                ^~~
> /usr/include/c++/11/tr1/ell_integral.tcc:114:52: error: expected unqualified-id before ‘(’ token
>   114 |               __epsilon = std::max(__epsilon, std::abs(__zndev));
>       |                                                    ^~~
> /usr/include/c++/11/tr1/ell_integral.tcc:114:52: error: expected unqualified-id before ‘(’ token
>   114 |               __epsilon = std::max(__epsilon, std::abs(__zndev));
>       |                                                    ^~~
> /usr/include/c++/11/tr1/ell_integral.tcc: In function ‘_Tp std::__detail::__comp_ellint_1(_Tp)’:
> /usr/include/c++/11/tr1/ell_integral.tcc:198:21: error: expected unqualified-id before ‘(’ token
>   198 |       else if (std::abs(__k) >= _Tp(1))
>       |                     ^~~
> /usr/include/c++/11/tr1/ell_integral.tcc: In function ‘_Tp std::__detail::__ellint_1(_Tp, _Tp)’:
> /usr/include/c++/11/tr1/ell_integral.tcc:226:21: error: expected unqualified-id before ‘(’ token
>   226 |       else if (std::abs(__k) > _Tp(1))
>       |                     ^~~
> /usr/include/c++/11/tr1/ell_integral.tcc: In function ‘_Tp std::__detail::__ellint_rd(_Tp, _Tp, _Tp)’:
> /usr/include/c++/11/tr1/ell_integral.tcc:353:36: error: expected unqualified-id before ‘(’ token
>   353 |               _Tp __epsilon = std::max(std::abs(__xndev), std::abs(__yndev));
>       |                                    ^~~
> /usr/include/c++/11/tr1/ell_integral.tcc:353:45: error: expected unqualified-id before ‘(’ token
>   353 |               _Tp __epsilon = std::max(std::abs(__xndev), std::abs(__yndev));
>       |                                             ^~~
> /usr/include/c++/11/tr1/ell_integral.tcc:353:64: error: expected unqualified-id before ‘(’ token
>   353 |               _Tp __epsilon = std::max(std::abs(__xndev), std::abs(__yndev));
>       |                                                                ^~~
> /usr/include/c++/11/tr1/ell_integral.tcc:353:45: error: expected unqualified-id before ‘(’ token
>   353 |               _Tp __epsilon = std::max(std::abs(__xndev), std::abs(__yndev));
>       |                                             ^~~
> /usr/include/c++/11/tr1/ell_integral.tcc:353:64: error: expected unqualified-id before ‘(’ token
>   353 |               _Tp __epsilon = std::max(std::abs(__xndev), std::abs(__yndev));
>       |                                                                ^~~
> /usr/include/c++/11/tr1/ell_integral.tcc:354:32: error: expected unqualified-id before ‘(’ token
>   354 |               __epsilon = std::max(__epsilon, std::abs(__zndev));
>       |                                ^~~
> /usr/include/c++/11/tr1/ell_integral.tcc:354:52: error: expected unqualified-id before ‘(’ token
>   354 |               __epsilon = std::max(__epsilon, std::abs(__zndev));
>       |                                                    ^~~
> /usr/include/c++/11/tr1/ell_integral.tcc:354:52: error: expected unqualified-id before ‘(’ token
>   354 |               __epsilon = std::max(__epsilon, std::abs(__zndev));
>       |                                                    ^~~
> /usr/include/c++/11/tr1/ell_integral.tcc: In function ‘_Tp std::__detail::__comp_ellint_2(_Tp)’:
> /usr/include/c++/11/tr1/ell_integral.tcc:406:21: error: expected unqualified-id before ‘(’ token
>   406 |       else if (std::abs(__k) == 1)
>       |                     ^~~
> /usr/include/c++/11/tr1/ell_integral.tcc:408:21: error: expected unqualified-id before ‘(’ token
>   408 |       else if (std::abs(__k) > _Tp(1))
>       |                     ^~~
> /usr/include/c++/11/tr1/ell_integral.tcc: In function ‘_Tp std::__detail::__ellint_2(_Tp, _Tp)’:
> /usr/include/c++/11/tr1/ell_integral.tcc:440:21: error: expected unqualified-id before ‘(’ token
>   440 |       else if (std::abs(__k) > _Tp(1))
>       |                     ^~~
> /usr/include/c++/11/tr1/ell_integral.tcc: In function ‘_Tp std::__detail::__ellint_rc(_Tp, _Tp)’:
> /usr/include/c++/11/tr1/ell_integral.tcc:523:24: error: expected unqualified-id before ‘(’ token
>   523 |               if (std::abs(__sn) < __errtol)
>       |                        ^~~
> /usr/include/c++/11/bits/stl_algobase.h:1368:39: error: expected initializer before ‘<’ token
>  1368 |       typedef typename iterator_traits<_II1>::value_type _ValueType1;
>       |                                       ^
> /usr/include/c++/11/tr1/ell_integral.tcc: In function ‘_Tp std::__detail::__ellint_rj(_Tp, _Tp, _Tp, _Tp)’:
> /usr/include/c++/11/tr1/ell_integral.tcc:604:36: error: expected unqualified-id before ‘(’ token
>   604 |               _Tp __epsilon = std::max(std::abs(__xndev), std::abs(__yndev));
>       |                                    ^~~
> /usr/include/c++/11/bits/stl_algobase.h:1369:24: error: expected nested-name-specifier before ‘iterator_traits’
>  1369 |       typedef typename iterator_traits<_II2>::value_type _ValueType2;
>       |                        ^~~~~~~~~~~~~~~
> /usr/include/c++/11/tr1/ell_integral.tcc:604:45: error: expected unqualified-id before ‘(’ token
>   604 |               _Tp __epsilon = std::max(std::abs(__xndev), std::abs(__yndev));
>       |                                             ^~~
> /usr/include/c++/11/bits/stl_algobase.h:1369:39: error: expected initializer before ‘<’ token
>  1369 |       typedef typename iterator_traits<_II2>::value_type _ValueType2;
>       |                                       ^
> /usr/include/c++/11/tr1/ell_integral.tcc:604:64: error: expected unqualified-id before ‘(’ token
>   604 |               _Tp __epsilon = std::max(std::abs(__xndev), std::abs(__yndev));
>       |                                                                ^~~
> /usr/include/c++/11/tr1/ell_integral.tcc:604:45: error: expected unqualified-id before ‘(’ token
>   604 |               _Tp __epsilon = std::max(std::abs(__xndev), std::abs(__yndev));
>       |                                             ^~~
> /usr/include/c++/11/tr1/ell_integral.tcc:604:64: error: expected unqualified-id before ‘(’ token
>   604 |               _Tp __epsilon = std::max(std::abs(__xndev), std::abs(__yndev));
>       |                                                                ^~~
> /usr/include/c++/11/bits/stl_algobase.h:1371:10: error: ‘__is_memcmp_ordered_with’ was not declared in this scope; did you mean ‘std::__is_memcmp_ordered_with’?
>  1371 |         (__is_memcmp_ordered_with<_ValueType1, _ValueType2>::__value
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~
>       |          std::__is_memcmp_ordered_with
> /usr/include/c++/11/tr1/ell_integral.tcc:605:32: error: expected unqualified-id before ‘(’ token
>   605 |               __epsilon = std::max(__epsilon, std::abs(__zndev));
>       |                                ^~~
> In file included from /usr/include/c++/11/cmath:42,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/cpp_type_traits.h:511:12: note: ‘std::__is_memcmp_ordered_with’ declared here
>   511 |     struct __is_memcmp_ordered_with
>       |            ^~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/tr1/ell_integral.tcc:605:52: error: expected unqualified-id before ‘(’ token
>   605 |               __epsilon = std::max(__epsilon, std::abs(__zndev));
>       |                                                    ^~~
> /usr/include/c++/11/tr1/ell_integral.tcc:605:52: error: expected unqualified-id before ‘(’ token
>   605 |               __epsilon = std::max(__epsilon, std::abs(__zndev));
>       |                                                    ^~~
> /usr/include/c++/11/tr1/ell_integral.tcc:606:32: error: expected unqualified-id before ‘(’ token
>   606 |               __epsilon = std::max(__epsilon, std::abs(__pndev));
>       |                                ^~~
> /usr/include/c++/11/tr1/ell_integral.tcc:606:52: error: expected unqualified-id before ‘(’ token
>   606 |               __epsilon = std::max(__epsilon, std::abs(__pndev));
>       |                                                    ^~~
> /usr/include/c++/11/tr1/ell_integral.tcc:606:52: error: expected unqualified-id before ‘(’ token
>   606 |               __epsilon = std::max(__epsilon, std::abs(__pndev));
>       |                                                    ^~~
> /usr/include/c++/11/tr1/ell_integral.tcc: In function ‘_Tp std::__detail::__comp_ellint_3(_Tp, _Tp)’:
> /usr/include/c++/11/tr1/ell_integral.tcc:670:21: error: expected unqualified-id before ‘(’ token
>   670 |       else if (std::abs(__k) > _Tp(1))
>       |                     ^~~
> /usr/include/c++/11/tr1/ell_integral.tcc: In function ‘_Tp std::__detail::__ellint_3(_Tp, _Tp, _Tp)’:
> /usr/include/c++/11/tr1/ell_integral.tcc:708:21: error: expected unqualified-id before ‘(’ token
>   708 |       else if (std::abs(__k) > _Tp(1))
>       |                     ^~~
> /usr/include/c++/11/tr1/exp_integral.tcc: In function ‘_Tp std::__detail::__expint_E1_series(_Tp)’:
> /usr/include/c++/11/tr1/exp_integral.tcc:93:20: error: expected unqualified-id before ‘(’ token
>    93 |           if (std::abs(__term) < __eps)
>       |                    ^~~
> /usr/include/c++/11/tr1/exp_integral.tcc: In function ‘_Tp std::__detail::__expint_E1_asymp(_Tp)’:
> /usr/include/c++/11/tr1/exp_integral.tcc:130:20: error: expected unqualified-id before ‘(’ token
>   130 |           if (std::abs(__term) > std::abs(__prev))
>       |                    ^~~
> /usr/include/c++/11/tr1/exp_integral.tcc:130:39: error: expected unqualified-id before ‘(’ token
>   130 |           if (std::abs(__term) > std::abs(__prev))
>       |                                       ^~~
> /usr/include/c++/11/tr1/exp_integral.tcc: In function ‘_Tp std::__detail::__expint_En_series(unsigned int, _Tp)’:
> /usr/include/c++/11/tr1/exp_integral.tcc:180:20: error: expected unqualified-id before ‘(’ token
>   180 |           if (std::abs(__del) < __eps * std::abs(__ans))
>       |                    ^~~
> /usr/include/c++/11/tr1/exp_integral.tcc:180:46: error: expected unqualified-id before ‘(’ token
>   180 |           if (std::abs(__del) < __eps * std::abs(__ans))
>       |                                              ^~~
> /usr/include/c++/11/tr1/exp_integral.tcc: In function ‘_Tp std::__detail::__expint_En_cont_frac(unsigned int, _Tp)’:
> /usr/include/c++/11/tr1/exp_integral.tcc:221:20: error: expected unqualified-id before ‘(’ token
>   221 |           if (std::abs(__del - _Tp(1)) < __eps)
>       |                    ^~~
> /usr/include/c++/11/tr1/exp_integral.tcc: In function ‘_Tp std::__detail::__expint_asymp(unsigned int, _Tp)’:
> /usr/include/c++/11/tr1/exp_integral.tcc:418:20: error: expected unqualified-id before ‘(’ token
>   418 |           if (std::abs(__term) > std::abs(__prev))
>       |                    ^~~
> /usr/include/c++/11/tr1/exp_integral.tcc:418:39: error: expected unqualified-id before ‘(’ token
>   418 |           if (std::abs(__term) > std::abs(__prev))
>       |                                       ^~~
> /usr/include/c++/11/tr1/exp_integral.tcc: In function ‘_Tp std::__detail::__expint_large_n(unsigned int, _Tp)’:
> /usr/include/c++/11/tr1/exp_integral.tcc:454:20: error: expected unqualified-id before ‘(’ token
>   454 |           if (std::abs(__term) < std::numeric_limits<_Tp>::epsilon())
>       |                    ^~~
> /usr/include/c++/11/tr1/hypergeometric.tcc: In function ‘_Tp std::__detail::__conf_hyperg_series(_Tp, _Tp, _Tp)’:
> /usr/include/c++/11/tr1/hypergeometric.tcc:97:20: error: expected unqualified-id before ‘(’ token
>    97 |           if (std::abs(__term) < __eps)
>       |                    ^~~
> /usr/include/c++/11/tr1/hypergeometric.tcc: In function ‘_Tp std::__detail::__conf_hyperg_luke(_Tp, _Tp, _Tp)’:
> /usr/include/c++/11/tr1/hypergeometric.tcc:169:25: error: expected unqualified-id before ‘(’ token
>   169 |           __prec = std::abs((__F - __r) / __F);
>       |                         ^~~
> /usr/include/c++/11/tr1/hypergeometric.tcc:175:20: error: expected unqualified-id before ‘(’ token
>   175 |           if (std::abs(__An) > __big || std::abs(__Bn) > __big)
>       |                    ^~~
> /usr/include/c++/11/tr1/hypergeometric.tcc:175:46: error: expected unqualified-id before ‘(’ token
>   175 |           if (std::abs(__An) > __big || std::abs(__Bn) > __big)
>       |                                              ^~~
> /usr/include/c++/11/tr1/hypergeometric.tcc:186:25: error: expected unqualified-id before ‘(’ token
>   186 |           else if (std::abs(__An) < _Tp(1) / __big
>       |                         ^~~
> /usr/include/c++/11/tr1/hypergeometric.tcc:187:25: error: expected unqualified-id before ‘(’ token
>   187 |                 || std::abs(__Bn) < _Tp(1) / __big)
>       |                         ^~~
> /usr/include/c++/11/tr1/hypergeometric.tcc: In function ‘_Tp std::__detail::__hyperg_series(_Tp, _Tp, _Tp, _Tp)’:
> /usr/include/c++/11/tr1/hypergeometric.tcc:285:20: error: expected unqualified-id before ‘(’ token
>   285 |           if (std::abs(__term) < __eps)
>       |                    ^~~
> /usr/include/c++/11/tr1/hypergeometric.tcc: In function ‘_Tp std::__detail::__hyperg_luke(_Tp, _Tp, _Tp, _Tp)’:
> /usr/include/c++/11/tr1/hypergeometric.tcc:361:35: error: expected unqualified-id before ‘(’ token
>   361 |           const _Tp __prec = std::abs((__F - __r) / __F);
>       |                                   ^~~
> /usr/include/c++/11/tr1/hypergeometric.tcc:367:20: error: expected unqualified-id before ‘(’ token
>   367 |           if (std::abs(__An) > __big || std::abs(__Bn) > __big)
>       |                    ^~~
> /usr/include/c++/11/tr1/hypergeometric.tcc:367:46: error: expected unqualified-id before ‘(’ token
>   367 |           if (std::abs(__An) > __big || std::abs(__Bn) > __big)
>       |                                              ^~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:1371:35: error: ‘_ValueType1’ was not declared in this scope
>  1371 |         (__is_memcmp_ordered_with<_ValueType1, _ValueType2>::__value
>       |                                   ^~~~~~~~~~~
> /usr/include/c++/11/tr1/hypergeometric.tcc:378:25: error: expected unqualified-id before ‘(’ token
>   378 |           else if (std::abs(__An) < _Tp(1) / __big
>       |                         ^~~
> /usr/include/c++/11/tr1/hypergeometric.tcc:379:25: error: expected unqualified-id before ‘(’ token
>   379 |                 || std::abs(__Bn) < _Tp(1) / __big)
>       |                         ^~~
> /usr/include/c++/11/tr1/hypergeometric.tcc: In function ‘_Tp std::__detail::__hyperg_reflect(_Tp, _Tp, _Tp, _Tp)’:
> /usr/include/c++/11/tr1/hypergeometric.tcc:447:38: error: expected unqualified-id before ‘(’ token
>   447 |       const bool __d_integer = (std::abs(__d - __intd) < __toler);
>       |                                      ^~~
> /usr/include/c++/11/tr1/hypergeometric.tcc:452:33: error: expected unqualified-id before ‘(’ token
>   452 |           const _Tp __ad = std::abs(__d);
>       |                                 ^~~
> /usr/include/c++/11/tr1/hypergeometric.tcc:571:28: error: expected unqualified-id before ‘(’ token
>   571 |                   if (std::abs(__delta) < __eps * std::abs(__sum2))
>       |                            ^~~
> /usr/include/c++/11/tr1/hypergeometric.tcc:571:56: error: expected unqualified-id before ‘(’ token
>   571 |                   if (std::abs(__delta) < __eps * std::abs(__sum2))
>       |                                                        ^~~
> /usr/include/c++/11/tr1/hypergeometric.tcc: In function ‘_Tp std::__detail::__hyperg(_Tp, _Tp, _Tp, _Tp)’:
> /usr/include/c++/11/tr1/hypergeometric.tcc:742:16: error: expected unqualified-id before ‘(’ token
>   742 |       if (std::abs(__x) >= _Tp(1))
>       |                ^~~
> /usr/include/c++/11/tr1/hypergeometric.tcc:750:21: error: expected unqualified-id before ‘(’ token
>   750 |       else if (std::abs(__c - __b) < __toler || std::abs(__c - __a) < __toler)
>       |                     ^~~
> /usr/include/c++/11/tr1/hypergeometric.tcc:750:54: error: expected unqualified-id before ‘(’ token
>   750 |       else if (std::abs(__c - __b) < __toler || std::abs(__c - __a) < __toler)
>       |                                                      ^~~
> /usr/include/c++/11/tr1/hypergeometric.tcc:755:21: error: expected unqualified-id before ‘(’ token
>   755 |       else if (std::abs(__a) < _Tp(10) && std::abs(__b) < _Tp(10))
>       |                     ^~~
> /usr/include/c++/11/tr1/hypergeometric.tcc:755:48: error: expected unqualified-id before ‘(’ token
>   755 |       else if (std::abs(__a) < _Tp(10) && std::abs(__b) < _Tp(10))
>       |                                                ^~~
> /usr/include/c++/11/tr1/hypergeometric.tcc:759:38: error: expected unqualified-id before ‘(’ token
>   759 |           if (__a < _Tp(0)  &&  std::abs(__a - __a_nint) < __toler)
>       |                                      ^~~
> /usr/include/c++/11/tr1/hypergeometric.tcc:761:43: error: expected unqualified-id before ‘(’ token
>   761 |           else if (__b < _Tp(0)  &&  std::abs(__b - __b_nint) < __toler)
>       |                                           ^~~
> /usr/include/c++/11/tr1/hypergeometric.tcc:768:22: error: expected unqualified-id before ‘(’ token
>   768 |             if (std::abs(__c) > _Tp(10))
>       |                      ^~~
> /usr/include/c++/11/tr1/modified_bessel_func.tcc: In function ‘void std::__detail::__bessel_ik(_Tp, _Tp, _Tp&, _Tp&, _Tp&, _Tp&)’:
> /usr/include/c++/11/tr1/modified_bessel_func.tcc:135:20: error: expected unqualified-id before ‘(’ token
>   135 |           if (std::abs(__del - _Tp(1)) < __eps)
>       |                    ^~~
> /usr/include/c++/11/tr1/modified_bessel_func.tcc:160:36: error: expected unqualified-id before ‘(’ token
>   160 |           const _Tp __fact = (std::abs(__pimu) < __eps
>       |                                    ^~~
> /usr/include/c++/11/tr1/modified_bessel_func.tcc:164:37: error: expected unqualified-id before ‘(’ token
>   164 |           const _Tp __fact2 = (std::abs(__e) < __eps
>       |                                     ^~~
> /usr/include/c++/11/tr1/modified_bessel_func.tcc:188:24: error: expected unqualified-id before ‘(’ token
>   188 |               if (std::abs(__del) < __eps * std::abs(__sum))
>       |                        ^~~
> /usr/include/c++/11/tr1/modified_bessel_func.tcc:188:50: error: expected unqualified-id before ‘(’ token
>   188 |               if (std::abs(__del) < __eps * std::abs(__sum))
>       |                                                  ^~~
> /usr/include/c++/11/tr1/modified_bessel_func.tcc:224:25: error: expected unqualified-id before ‘(’ token
>   224 |               if ( std::abs(__dels / __s) < __eps )
>       |                         ^~~
> /usr/include/c++/11/tr1/modified_bessel_func.tcc: In function ‘void std::__detail::__airy(_Tp, _Tp&, _Tp&, _Tp&, _Tp&)’:
> /usr/include/c++/11/tr1/modified_bessel_func.tcc:377:31: error: expected unqualified-id before ‘(’ token
>   377 |       const _Tp __absx = std::abs(__x);
>       |                               ^~~
> /usr/include/c++/11/tr1/poly_laguerre.tcc: In function ‘_Tp std::__detail::__poly_laguerre_hyperg(unsigned int, _Tpa, _Tp)’:
> /usr/include/c++/11/tr1/poly_laguerre.tcc:139:29: error: expected unqualified-id before ‘(’ token
>   139 |       const _Tp __ax = std::abs(__x);
>       |                             ^~~
> /usr/include/c++/11/tr1/riemann_zeta.tcc: In function ‘_Tp std::__detail::__riemann_zeta_alt(_Tp)’:
> /usr/include/c++/11/tr1/riemann_zeta.tcc:124:20: error: expected unqualified-id before ‘(’ token
>   124 |           if (std::abs(__term) < std::numeric_limits<_Tp>::epsilon())
>       |                    ^~~
> /usr/include/c++/11/tr1/riemann_zeta.tcc: In function ‘_Tp std::__detail::__riemann_zeta_glob(_Tp)’:
> /usr/include/c++/11/tr1/riemann_zeta.tcc:224:20: error: expected unqualified-id before ‘(’ token
>   224 |           if (std::abs(__term/__zeta) < __eps)
>       |                    ^~~
> /usr/include/c++/11/tr1/riemann_zeta.tcc: In function ‘_Tp std::__detail::__hurwitz_zeta_glob(_Tp, _Tp)’:
> /usr/include/c++/11/tr1/riemann_zeta.tcc:406:20: error: expected unqualified-id before ‘(’ token
>   406 |           if (std::abs(__term / __zeta) < __eps)
>       |                    ^~~
> /usr/include/c++/11/bits/stl_algobase.h:1371:48: error: ‘_ValueType2’ was not declared in this scope
>  1371 |         (__is_memcmp_ordered_with<_ValueType1, _ValueType2>::__value
>       |                                                ^~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1372:10: error: missing template arguments before ‘&&’ token
>  1372 |          && __is_pointer<_II1>::__value
>       |          ^~
> /usr/include/c++/11/bits/stl_algobase.h:1372:13: error: ‘__is_pointer’ was not declared in this scope; did you mean ‘std::__is_pointer’?
>  1372 |          && __is_pointer<_II1>::__value
>       |             ^~~~~~~~~~~~
>       |             std::__is_pointer
> In file included from /usr/include/c++/11/cmath:42,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/cpp_type_traits.h:320:12: note: ‘std::__is_pointer’ declared here
>   320 |     struct __is_pointer
>       |            ^~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:1372:30: error: expected primary-expression before ‘>’ token
>  1372 |          && __is_pointer<_II1>::__value
>       |                              ^
> /usr/include/c++/11/bits/stl_algobase.h:1373:10: error: missing template arguments before ‘&&’ token
>  1373 |          && __is_pointer<_II2>::__value
>       |          ^~
> /usr/include/c++/11/bits/stl_algobase.h:1373:30: error: expected primary-expression before ‘>’ token
>  1373 |          && __is_pointer<_II2>::__value
>       |                              ^
> /usr/include/c++/11/bits/stl_algobase.h:1381:10: error: missing template arguments before ‘)’ token
>  1381 |          );
>       |          ^
> In file included from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/cmath: At global scope:
> /usr/include/c++/11/cmath:1938:1: error: expected declaration before ‘}’ token
>  1938 | } // extern "C++"
>       | ^
> /usr/include/c++/11/bits/stl_algobase.h:1383:19: error: ‘__lexicographical_compare’ is not a member of ‘std’; did you mean ‘__lexicographical_compare’?
>  1383 |       return std::__lexicographical_compare<__simple>::__lc(__first1, __last1,
>       |                   ^~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1304:12: note: ‘__lexicographical_compare’ declared here
>  1304 |     struct __lexicographical_compare
>       |            ^~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1383:56: error: ‘::__lc’ has not been declared
>  1383 |       return std::__lexicographical_compare<__simple>::__lc(__first1, __last1,
>       |                                                        ^~~~
> /usr/include/c++/11/bits/stl_algobase.h: At global scope:
> /usr/include/c++/11/bits/stl_algobase.h:1391:25: error: ‘template<class _Tp1, class _Ref1, class _Ptr1, class _Tp2> bool __lexicographical_compare_aux1’ conflicts with a previous declaration
>  1391 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                         ^~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1365:5: note: previous declaration ‘bool __lexicographical_compare_aux1(_II1, _II1, _II2, _II2)’
>  1365 |     __lexicographical_compare_aux1(_II1 __first1, _II1 __last1,
>       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1391:25: error: ‘_Deque_iterator’ is not a member of ‘std’; did you mean ‘reverse_iterator’?
>  1391 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                         ^~~~~~~~~~~~~~~
>       |                         reverse_iterator
> /usr/include/c++/11/bits/stl_algobase.h:1391:45: error: expected primary-expression before ‘,’ token
>  1391 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                             ^
> /usr/include/c++/11/bits/stl_algobase.h:1391:52: error: expected primary-expression before ‘,’ token
>  1391 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                                    ^
> /usr/include/c++/11/bits/stl_algobase.h:1391:59: error: expected primary-expression before ‘>’ token
>  1391 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                                           ^
> /usr/include/c++/11/bits/stl_algobase.h:1391:60: error: expected primary-expression before ‘,’ token
>  1391 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                                            ^
> /usr/include/c++/11/bits/stl_algobase.h:1392:25: error: ‘_Deque_iterator’ is not a member of ‘std’; did you mean ‘reverse_iterator’?
>  1392 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                         ^~~~~~~~~~~~~~~
>       |                         reverse_iterator
> /usr/include/c++/11/bits/stl_algobase.h:1392:45: error: expected primary-expression before ‘,’ token
>  1392 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                             ^
> /usr/include/c++/11/bits/stl_algobase.h:1392:52: error: expected primary-expression before ‘,’ token
>  1392 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                                    ^
> /usr/include/c++/11/bits/stl_algobase.h:1392:59: error: expected primary-expression before ‘>’ token
>  1392 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                                           ^
> /usr/include/c++/11/bits/stl_algobase.h:1392:60: error: expected primary-expression before ‘,’ token
>  1392 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                                            ^
> /usr/include/c++/11/bits/stl_algobase.h:1393:13: error: expected primary-expression before ‘*’ token
>  1393 |         _Tp2*, _Tp2*);
>       |             ^
> /usr/include/c++/11/bits/stl_algobase.h:1393:14: error: expected primary-expression before ‘,’ token
>  1393 |         _Tp2*, _Tp2*);
>       |              ^
> /usr/include/c++/11/bits/stl_algobase.h:1393:20: error: expected primary-expression before ‘*’ token
>  1393 |         _Tp2*, _Tp2*);
>       |                    ^
> /usr/include/c++/11/bits/stl_algobase.h:1393:21: error: expected primary-expression before ‘)’ token
>  1393 |         _Tp2*, _Tp2*);
>       |                     ^
> /usr/include/c++/11/bits/stl_algobase.h:1393:21: error: expression list treated as compound expression in initializer [-fpermissive]
> In file included from /usr/include/c++/11/cstdlib:41,
>                  from /usr/include/c++/11/stdlib.h:36,
>                  from /usr/include/pm_config.h:185,
>                  from /usr/include/pm.h:16,
>                  from /usr/include/pbm.h:7,
>                  from /usr/include/pgm.h:7,
>                  from /usr/include/ppm.h:7,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:31:
> /usr/include/c++/11/bits/stl_algobase.h:1399:9: error: ‘std::_Deque_iterator’ has not been declared
>  1399 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp2, _Ref2, _Ptr2>,
>       |         ^~~~~~~~~~~~~~
> In file included from /usr/include/c++/11/bits/specfun.h:45,
>                  from /usr/include/c++/11/cmath:1935,
>                  from /usr/include/c++/11/math.h:36,
>                  from /<<PKGBUILDDIR>>/src/fileformat/ppmio.cpp:34:
> /usr/include/c++/11/bits/stl_algobase.h:1399:40: error: expected ‘,’ or ‘...’ before ‘<’ token
>  1399 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp2, _Ref2, _Ptr2>,
>       |                                        ^
> /usr/include/c++/11/bits/stl_algobase.h:1406:25: error: ‘template<class _Tp1, class _Ref1, class _Ptr1, class _Tp2, class _Ref2, class _Ptr2> bool __lexicographical_compare_aux1’ conflicts with a previous declaration
>  1406 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                         ^~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1398:5: note: previous declaration ‘__lexicographical_compare_aux1’
>  1398 |     __lexicographical_compare_aux1(_Tp1*, _Tp1*,
>       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1406:25: error: ‘_Deque_iterator’ is not a member of ‘std’; did you mean ‘reverse_iterator’?
>  1406 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                         ^~~~~~~~~~~~~~~
>       |                         reverse_iterator
> /usr/include/c++/11/bits/stl_algobase.h:1406:45: error: expected primary-expression before ‘,’ token
>  1406 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                             ^
> /usr/include/c++/11/bits/stl_algobase.h:1406:52: error: expected primary-expression before ‘,’ token
>  1406 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                                    ^
> /usr/include/c++/11/bits/stl_algobase.h:1406:59: error: expected primary-expression before ‘>’ token
>  1406 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                                           ^
> /usr/include/c++/11/bits/stl_algobase.h:1406:60: error: expected primary-expression before ‘,’ token
>  1406 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                                            ^
> /usr/include/c++/11/bits/stl_algobase.h:1407:25: error: ‘_Deque_iterator’ is not a member of ‘std’; did you mean ‘reverse_iterator’?
>  1407 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                         ^~~~~~~~~~~~~~~
>       |                         reverse_iterator
> /usr/include/c++/11/bits/stl_algobase.h:1407:45: error: expected primary-expression before ‘,’ token
>  1407 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                             ^
> /usr/include/c++/11/bits/stl_algobase.h:1407:52: error: expected primary-expression before ‘,’ token
>  1407 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                                    ^
> /usr/include/c++/11/bits/stl_algobase.h:1407:59: error: expected primary-expression before ‘>’ token
>  1407 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                                           ^
> /usr/include/c++/11/bits/stl_algobase.h:1407:60: error: expected primary-expression before ‘,’ token
>  1407 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp1, _Ref1, _Ptr1>,
>       |                                                            ^
> /usr/include/c++/11/bits/stl_algobase.h:1408:25: error: ‘_Deque_iterator’ is not a member of ‘std’; did you mean ‘reverse_iterator’?
>  1408 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp2, _Ref2, _Ptr2>,
>       |                         ^~~~~~~~~~~~~~~
>       |                         reverse_iterator
> /usr/include/c++/11/bits/stl_algobase.h:1408:45: error: expected primary-expression before ‘,’ token
>  1408 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp2, _Ref2, _Ptr2>,
>       |                                             ^
> /usr/include/c++/11/bits/stl_algobase.h:1408:52: error: expected primary-expression before ‘,’ token
>  1408 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp2, _Ref2, _Ptr2>,
>       |                                                    ^
> /usr/include/c++/11/bits/stl_algobase.h:1408:59: error: expected primary-expression before ‘>’ token
>  1408 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp2, _Ref2, _Ptr2>,
>       |                                                           ^
> /usr/include/c++/11/bits/stl_algobase.h:1408:60: error: expected primary-expression before ‘,’ token
>  1408 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp2, _Ref2, _Ptr2>,
>       |                                                            ^
> /usr/include/c++/11/bits/stl_algobase.h:1409:25: error: ‘_Deque_iterator’ is not a member of ‘std’; did you mean ‘reverse_iterator’?
>  1409 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp2, _Ref2, _Ptr2>);
>       |                         ^~~~~~~~~~~~~~~
>       |                         reverse_iterator
> /usr/include/c++/11/bits/stl_algobase.h:1409:45: error: expected primary-expression before ‘,’ token
>  1409 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp2, _Ref2, _Ptr2>);
>       |                                             ^
> /usr/include/c++/11/bits/stl_algobase.h:1409:52: error: expected primary-expression before ‘,’ token
>  1409 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp2, _Ref2, _Ptr2>);
>       |                                                    ^
> /usr/include/c++/11/bits/stl_algobase.h:1409:59: error: expected primary-expression before ‘>’ token
>  1409 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp2, _Ref2, _Ptr2>);
>       |                                                           ^
> /usr/include/c++/11/bits/stl_algobase.h:1409:60: error: expected primary-expression before ‘)’ token
>  1409 |         _GLIBCXX_STD_C::_Deque_iterator<_Tp2, _Ref2, _Ptr2>);
>       |                                                            ^
> /usr/include/c++/11/bits/stl_algobase.h:1409:60: error: expression list treated as compound expression in initializer [-fpermissive]
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘bool __lexicographical_compare_aux(_II1, _II1, _II2, _II2)’:
> /usr/include/c++/11/bits/stl_algobase.h:1417:19: error: ‘__lexicographical_compare_aux1’ is not a member of ‘std’; did you mean ‘__lexicographical_compare_aux1’?
>  1417 |       return std::__lexicographical_compare_aux1(std::__niter_base(__first1),
>       |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1398:5: note: ‘__lexicographical_compare_aux1’ declared here
>  1398 |     __lexicographical_compare_aux1(_Tp1*, _Tp1*,
>       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘_ForwardIterator __lower_bound(_ForwardIterator, _ForwardIterator, const _Tp&, _Compare)’:
> /usr/include/c++/11/bits/stl_algobase.h:1454:24: error: expected nested-name-specifier before ‘iterator_traits’
>  1454 |       typedef typename iterator_traits<_ForwardIterator>::difference_type
>       |                        ^~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1454:39: error: expected initializer before ‘<’ token
>  1454 |       typedef typename iterator_traits<_ForwardIterator>::difference_type
>       |                                       ^
> /usr/include/c++/11/bits/stl_algobase.h:1457:7: error: ‘_DistanceType’ was not declared in this scope
>  1457 |       _DistanceType __len = std::distance(__first, __last);
>       |       ^~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1459:14: error: ‘__len’ was not declared in this scope
>  1459 |       while (__len > 0)
>       |              ^~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1461:24: error: expected ‘;’ before ‘__half’
>  1461 |           _DistanceType __half = __len >> 1;
>       |                        ^~~~~~~
>       |                        ;
> /usr/include/c++/11/bits/stl_algobase.h:1463:34: error: ‘__half’ was not declared in this scope; did you mean ‘__val’?
>  1463 |           std::advance(__middle, __half);
>       |                                  ^~~~~~
>       |                                  __val
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘_ForwardIterator lower_bound(_ForwardIterator, _ForwardIterator, const _Tp&)’:
> /usr/include/c++/11/bits/stl_algobase.h:1499:19: error: ‘__lower_bound’ is not a member of ‘std’; did you mean ‘__lower_bound’?
>  1499 |       return std::__lower_bound(__first, __last, __val,
>       |                   ^~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1451:5: note: ‘__lower_bound’ declared here
>  1451 |     __lower_bound(_ForwardIterator __first, _ForwardIterator __last,
>       |     ^~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘bool equal(_II1, _II1, _II2)’:
> /usr/include/c++/11/bits/stl_algobase.h:1556:19: error: ‘__equal_aux’ is not a member of ‘std’; did you mean ‘__equal_aux’?
>  1556 |       return std::__equal_aux(__first1, __last1, __first2);
>       |                   ^~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1238:5: note: ‘__equal_aux’ declared here
>  1238 |     __equal_aux(const ::__gnu_debug::_Safe_iterator<_II1, _Seq1, _Cat1>&,
>       |     ^~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘bool __equal4(_II1, _II1, _II2, _II2)’:
> /usr/include/c++/11/bits/stl_algobase.h:1598:22: error: ‘random_access_iterator_tag’ does not name a type
>  1598 |       using _RATag = random_access_iterator_tag;
>       |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1599:30: error: expected nested-name-specifier before ‘iterator_traits’
>  1599 |       using _Cat1 = typename iterator_traits<_II1>::iterator_category;
>       |                              ^~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1600:30: error: expected nested-name-specifier before ‘iterator_traits’
>  1600 |       using _Cat2 = typename iterator_traits<_II2>::iterator_category;
>       |                              ^~~~~~~~~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1601:24: error: ‘__and_’ does not name a type
>  1601 |       using _RAIters = __and_<is_same<_Cat1, _RATag>, is_same<_Cat2, _RATag>>;
>       |                        ^~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1602:11: error: there are no arguments to ‘_RAIters’ that depend on a template parameter, so a declaration of ‘_RAIters’ must be available [-fpermissive]
>  1602 |       if (_RAIters())
>       |           ^~~~~~~~
> /usr/include/c++/11/bits/stl_algobase.h:1602:11: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
> /usr/include/c++/11/bits/stl_algobase.h:1608:34: error: ‘equal’ is not a member of ‘std’; did you mean ‘remquol’?
>  1608 |           return _GLIBCXX_STD_A::equal(__first1, __last1, __first2);
>       |                                  ^~~~~
>       |                                  remquol
> /usr/include/c++/11/bits/stl_algobase.h: In function ‘bool __equal4(_II1, _II1, _II2, _II2, _BinaryPredicate)’:
> /usr/include/c++/11/bits/stl_algobase.h:1625:22: error: ‘random_access_iterator_tag’ does not name a type
>  1625 |       using _RATag = random_access_iterator_tag;
>       |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
> make[4]: *** [src/fileformat/CMakeFiles/pfsinppm.dir/build.make:93: src/fileformat/CMakeFiles/pfsinppm.dir/ppmio.cpp.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2021/11/04/pfstools_2.2.0-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-phototools-devel mailing list