fileio Fedora g++

Build 0bbb09fd49f8e5f5ee94d946a4e8cb053d51f2ca on Fedora using g++ at 2025-10-22 20:25
gem install edicta specificjson
-- The CXX compiler identification is GNU 15.2.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/sbin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found TIFF: /usr/lib64/libtiff.so (found version "4.7.0")
-- TIFF supported.
-- Found ZLIB: /usr/lib64/libz.so (found version "1.3.1")
-- Found PNG: /usr/lib64/libpng.so (found version "1.6.44")
-- PNG supported.
-- Configuring done (0.6s)
-- Generating done (0.0s)
-- Build files have been written to: /workspace/build
[  5%] Generating readimage_io.pspec
[  5%] Generating writeimage_io.pspec
[  8%] Generating writeimage_io.cpp, writeimage_io.hpp
[ 11%] Generating readimage_io.cpp, readimage_io.hpp
writeimage_io: WriteImageIn Exception ParseInteger ValueParser Float String Int32 ParserPool ParseArrayContainer ParseObject ContainerStdVectorEqSize StdVector writeBool writeScalarType writeInt16 writeInt32 writeInt64 writeInt8 writeString writeUInt16 writeUInt32 writeUInt64 writeUInt8 writeDouble writeFloat writePointer writeForwardIterator writeStdVector
  Header: writeimage_io.hpp, source: writeimage_io.cpp
[ 11%] Built target writeimage_io
readimage_io: ReadImageIn ReadImageOut Exception ParseInteger ValueParser Float String Int32 ParserPool ParseObject writeBool writeScalarType writeInt16 writeInt32 writeInt64 writeInt8 writeString writeUInt16 writeUInt32 writeUInt64 writeUInt8 writeDouble writeFloat writePointer writeForwardIterator writeStdVector
  Header: readimage_io.hpp, source: readimage_io.cpp
[ 11%] Built target readimage_io
[ 14%] Generating split2planes_io.pspec
[ 17%] Generating writecollada_io.pspec
[ 20%] Generating split2planes_io.cpp, split2planes_io.hpp
[ 22%] Generating writecollada_io.cpp, writecollada_io.hpp
split2planes_io: Split2PlanesIn Exception ValueParser Float String ParserPool ParseArrayContainer ParseObject ContainerStdVector ContainerStdVectorEqSize StdVector writeBool writeScalarType writeInt16 writeInt32 writeInt64 writeInt8 writeString writeUInt16 writeUInt32 writeUInt64 writeUInt8 writeDouble writeFloat writePointer writeForwardIterator writeStdVector
  Header: split2planes_io.hpp, source: split2planes_io.cpp
[ 22%] Built target split2planes_io
writecollada_io: WriteColladaIn Exception ParseInteger ValueParser Float String UInt32 ParserPool ParseArrayContainer ParseObject ContainerStdVector ContainerStdVectorEqSize StdVector writeBool writeScalarType writeInt16 writeInt32 writeInt64 writeInt8 writeString writeUInt16 writeUInt32 writeUInt64 writeUInt8 writeDouble writeFloat writePointer writeForwardIterator writeStdVector
  Header: writecollada_io.hpp, source: writecollada_io.cpp
[ 25%] Generating writegltf_io.pspec
[ 25%] Built target writecollada_io
[ 28%] Generating writeglb_io.pspec
[ 31%] Generating writegltf_io.cpp, writegltf_io.hpp
[ 34%] Generating writeglb_io.cpp, writeglb_io.hpp
writegltf_io: WriteglTFIn Exception ParseInteger ValueParser Float String UInt32 ParserPool ParseArrayContainer ParseObject ContainerStdVector ContainerStdVectorEqSize StdVector writeBool writeScalarType writeInt16 writeInt32 writeInt64 writeInt8 writeString writeUInt16 writeUInt32 writeUInt64 writeUInt8 writeDouble writeFloat writePointer writeForwardIterator writeStdVector
  Header: writegltf_io.hpp, source: writegltf_io.cpp
[ 34%] Built target writegltf_io
writeglb_io: WriteGLBIn Exception ParseInteger ValueParser Float String UInt32 ParserPool ParseArrayContainer ParseObject ContainerStdVector ContainerStdVectorEqSize StdVector writeBool writeScalarType writeInt16 writeInt32 writeInt64 writeInt8 writeString writeUInt16 writeUInt32 writeUInt64 writeUInt8 writeDouble writeFloat writePointer writeForwardIterator writeStdVector
  Header: writeglb_io.hpp, source: writeglb_io.cpp
[ 37%] Building CXX object CMakeFiles/unittest-split2planes.dir/src/split2planes.cpp.o
[ 37%] Built target writeglb_io
[ 40%] Building CXX object CMakeFiles/readimage.dir/src/readimage.cpp.o
[ 42%] Building CXX object CMakeFiles/readimage.dir/readimage_io.cpp.o
/workspace/build/readimage_io.cpp: In constructor 'io::ContextException::ContextException(const io::Exception&, const char*, const char*, const char*)':
/workspace/build/readimage_io.cpp:48:28: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare]
   48 |     size_t before = (space < Current - Begin) ? space : (Current - Begin);
      |                      ~~~~~~^~~~~~~~~~~~~~~~~
/workspace/build/readimage_io.cpp:49:27: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare]
   49 |     size_t after = (space < End - Current) ? space : (End - Current);
      |                     ~~~~~~^~~~~~~~~~~~~~~
In file included from /workspace/build/readimage_io.cpp:30:
/workspace/build/readimage_io.hpp: In instantiation of 'T io::convert_to_integer(const char*, char**) [with T = int; long int Minimum = -2147483648; long unsigned int Maximum = 2147483647]':
/workspace/build/readimage_io.hpp:168:52:   required from 'const char* io::parse_integer(T&, const char*, const char*, std::vector<char>&, bool) [with T = int; long int Minimum = -2147483648; long unsigned int Maximum = 2147483647]'
  168 |         Out = convert_to_integer<T,Minimum,Maximum>(Begin, &end);
      |               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/workspace/build/readimage_io.cpp:230:79:   required from here
  229 |     const char* end = parse_integer<Type,
      |                       ~~~~~~~~~~~~~~~~~~~                                      
  230 |         std::numeric_limits<Type>::lowest(), std::numeric_limits<Type>::max()>(
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
  231 |             std::get<ParseInt32::Pool::Index>(Pool.Value),
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                     
  232 |             Begin, End, Pool.buffer, finished);
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                 
/workspace/build/readimage_io.hpp:146:50: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'intmax_t' {aka 'long int'} [-Wsign-compare]
  146 |         if (out < Minimum || (0 < out && Maximum < out))
      |                                          ~~~~~~~~^~~~~
[ 45%] Linking CXX executable readimage
[ 45%] Built target readimage
[ 48%] Building CXX object CMakeFiles/writeimage.dir/src/writeimage.cpp.o
[ 51%] Building CXX object CMakeFiles/unittest-split2planes.dir/split2planes_io.cpp.o
/workspace/src/writeimage.cpp: In function 'int write_image(io::WriteImageIn&)':
/workspace/src/writeimage.cpp:352:35: warning: catching polymorphic type 'class std::ios_base::failure' by value [-Wcatch-value=]
  352 |     catch (std::ofstream::failure f) {
      |                                   ^
/workspace/build/split2planes_io.cpp: In constructor 'io::ContextException::ContextException(const io::Exception&, const char*, const char*, const char*)':
/workspace/build/split2planes_io.cpp:48:28: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare]
   48 |     size_t before = (space < Current - Begin) ? space : (Current - Begin);
      |                      ~~~~~~^~~~~~~~~~~~~~~~~
/workspace/build/split2planes_io.cpp:49:27: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare]
   49 |     size_t after = (space < End - Current) ? space : (End - Current);
      |                     ~~~~~~^~~~~~~~~~~~~~~
[ 54%] Linking CXX executable unittest-split2planes
[ 54%] Built target unittest-split2planes
[ 57%] Building CXX object CMakeFiles/split2planes.dir/src/split2planes.cpp.o
[ 60%] Building CXX object CMakeFiles/writeimage.dir/writeimage_io.cpp.o
/workspace/build/writeimage_io.cpp: In constructor 'io::ContextException::ContextException(const io::Exception&, const char*, const char*, const char*)':
/workspace/build/writeimage_io.cpp:48:28: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare]
   48 |     size_t before = (space < Current - Begin) ? space : (Current - Begin);
      |                      ~~~~~~^~~~~~~~~~~~~~~~~
/workspace/build/writeimage_io.cpp:49:27: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare]
   49 |     size_t after = (space < End - Current) ? space : (End - Current);
      |                     ~~~~~~^~~~~~~~~~~~~~~
In file included from /workspace/build/writeimage_io.cpp:30:
/workspace/build/writeimage_io.hpp: In instantiation of 'T io::convert_to_integer(const char*, char**) [with T = int; long int Minimum = -2147483648; long unsigned int Maximum = 2147483647]':
/workspace/build/writeimage_io.hpp:167:52:   required from 'const char* io::parse_integer(T&, const char*, const char*, std::vector<char>&, bool) [with T = int; long int Minimum = -2147483648; long unsigned int Maximum = 2147483647]'
  167 |         Out = convert_to_integer<T,Minimum,Maximum>(Begin, &end);
      |               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/workspace/build/writeimage_io.cpp:230:79:   required from here
  229 |     const char* end = parse_integer<Type,
      |                       ~~~~~~~~~~~~~~~~~~~                                      
  230 |         std::numeric_limits<Type>::lowest(), std::numeric_limits<Type>::max()>(
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
  231 |             std::get<ParseInt32::Pool::Index>(Pool.Value),
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                     
  232 |             Begin, End, Pool.buffer, finished);
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                 
/workspace/build/writeimage_io.hpp:145:50: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'intmax_t' {aka 'long int'} [-Wsign-compare]
  145 |         if (out < Minimum || (0 < out && Maximum < out))
      |                                          ~~~~~~~~^~~~~
[ 62%] Building CXX object CMakeFiles/writeimage.dir/src/memimage.cpp.o
[ 65%] Building CXX object CMakeFiles/split2planes.dir/split2planes_io.cpp.o
/workspace/build/split2planes_io.cpp: In constructor 'io::ContextException::ContextException(const io::Exception&, const char*, const char*, const char*)':
/workspace/build/split2planes_io.cpp:48:28: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare]
   48 |     size_t before = (space < Current - Begin) ? space : (Current - Begin);
      |                      ~~~~~~^~~~~~~~~~~~~~~~~
/workspace/build/split2planes_io.cpp:49:27: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare]
   49 |     size_t after = (space < End - Current) ? space : (End - Current);
      |                     ~~~~~~^~~~~~~~~~~~~~~
[ 68%] Linking CXX executable writeimage
[ 68%] Built target writeimage
[ 71%] Linking CXX executable split2planes
[ 74%] Building CXX object CMakeFiles/writecollada.dir/src/writecollada.cpp.o
[ 74%] Built target split2planes
[ 77%] Building CXX object CMakeFiles/writegltf.dir/src/writegltf.cpp.o
[ 80%] Building CXX object CMakeFiles/writecollada.dir/writecollada_io.cpp.o
[ 82%] Building CXX object CMakeFiles/writegltf.dir/writegltf_io.cpp.o
/workspace/build/writecollada_io.cpp: In constructor 'io::ContextException::ContextException(const io::Exception&, const char*, const char*, const char*)':
/workspace/build/writecollada_io.cpp:48:28: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare]
   48 |     size_t before = (space < Current - Begin) ? space : (Current - Begin);
      |                      ~~~~~~^~~~~~~~~~~~~~~~~
/workspace/build/writecollada_io.cpp:49:27: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare]
   49 |     size_t after = (space < End - Current) ? space : (End - Current);
      |                     ~~~~~~^~~~~~~~~~~~~~~
/workspace/build/writegltf_io.cpp: In constructor 'io::ContextException::ContextException(const io::Exception&, const char*, const char*, const char*)':
/workspace/build/writegltf_io.cpp:48:28: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare]
   48 |     size_t before = (space < Current - Begin) ? space : (Current - Begin);
      |                      ~~~~~~^~~~~~~~~~~~~~~~~
/workspace/build/writegltf_io.cpp:49:27: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare]
   49 |     size_t after = (space < End - Current) ? space : (End - Current);
      |                     ~~~~~~^~~~~~~~~~~~~~~
[ 85%] Linking CXX executable writecollada
[ 88%] Linking CXX executable writegltf
[ 88%] Built target writecollada
[ 91%] Building CXX object CMakeFiles/writeglb.dir/src/writeglb.cpp.o
[ 91%] Built target writegltf
[ 94%] Building CXX object CMakeFiles/writeglb.dir/writeglb_io.cpp.o
In file included from /usr/include/c++/15/backward/strstream:50,
                 from /workspace/src/writeglb.cpp:28:
/usr/include/c++/15/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
   32 | #warning \
      |  ^~~~~~~
/workspace/build/writeglb_io.cpp: In constructor 'io::ContextException::ContextException(const io::Exception&, const char*, const char*, const char*)':
/workspace/build/writeglb_io.cpp:48:28: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare]
   48 |     size_t before = (space < Current - Begin) ? space : (Current - Begin);
      |                      ~~~~~~^~~~~~~~~~~~~~~~~
/workspace/build/writeglb_io.cpp:49:27: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare]
   49 |     size_t after = (space < End - Current) ? space : (End - Current);
      |                     ~~~~~~^~~~~~~~~~~~~~~
/workspace/src/writeglb.cpp: In function 'int writeglb(io::WriteGLBIn&)':
/workspace/src/writeglb.cpp:96:20: warning: 'strstream' is deprecated: use 'std::stringstream' instead [-Wdeprecated-declarations]
   96 |     std::strstream json;
      |                    ^~~~
/usr/include/c++/15/backward/strstream:216:9: note: declared here
  216 |   class strstream : public basic_iostream<char>
      |         ^~~~~~~~~
[ 97%] Building CXX object CMakeFiles/writeglb.dir/src/memimage.cpp.o
[100%] Linking CXX executable writeglb
[100%] Built target writeglb
Running tests...
Test project /workspace/build
      Start  1: unittest-split2planes
 1/26 Test  #1: unittest-split2planes ............   Passed    0.00 sec
      Start  2: p3ppm8
 2/26 Test  #2: p3ppm8 ...........................   Passed    1.05 sec
      Start  3: p3ppm16
 3/26 Test  #3: p3ppm16 ..........................   Passed    1.71 sec
      Start  4: p3ppm4
 4/26 Test  #4: p3ppm4 ...........................   Passed    0.57 sec
      Start  5: p3ppm10
 5/26 Test  #5: p3ppm10 ..........................   Passed    0.58 sec
      Start  6: ppm8
 6/26 Test  #6: ppm8 .............................   Passed    0.47 sec
      Start  7: ppm16
 7/26 Test  #7: ppm16 ............................   Passed    3.39 sec
      Start  8: tiff1.8
 8/26 Test  #8: tiff1.8 ..........................   Passed    0.68 sec
      Start  9: tiff2.8
 9/26 Test  #9: tiff2.8 ..........................   Passed    2.42 sec
      Start 10: tiff3.8
10/26 Test #10: tiff3.8 ..........................   Passed    0.66 sec
      Start 11: tiff3.16
11/26 Test #11: tiff3.16 .........................   Passed    0.54 sec
      Start 12: tiff4.8
12/26 Test #12: tiff4.8 ..........................   Passed    1.80 sec
      Start 13: tiff4.16
13/26 Test #13: tiff4.16 .........................   Passed    5.86 sec
      Start 14: tiff5.8
14/26 Test #14: tiff5.8 ..........................   Passed    2.36 sec
      Start 15: tiff5.16
15/26 Test #15: tiff5.16 .........................   Passed    0.59 sec
      Start 16: png1.8
16/26 Test #16: png1.8 ...........................   Passed    0.66 sec
      Start 17: png1.16
17/26 Test #17: png1.16 ..........................   Passed    0.75 sec
      Start 18: png2.8
18/26 Test #18: png2.8 ...........................   Passed    2.34 sec
      Start 19: png2.16
19/26 Test #19: png2.16 ..........................   Passed    1.30 sec
      Start 20: png3.8
20/26 Test #20: png3.8 ...........................   Passed    0.67 sec
      Start 21: png3.16
21/26 Test #21: png3.16 ..........................   Passed    0.62 sec
      Start 22: png4.8
22/26 Test #22: png4.8 ...........................   Passed    1.84 sec
      Start 23: png4.16
23/26 Test #23: png4.16 ..........................   Passed    5.94 sec
      Start 24: plane0
24/26 Test #24: plane0 ...........................   Passed    0.69 sec
      Start 25: plane1
25/26 Test #25: plane1 ...........................   Passed    0.52 sec
      Start 26: plane2
26/26 Test #26: plane2 ...........................   Passed    0.52 sec

100% tests passed, 0 tests failed out of 26

Total Test time (real) =  38.54 sec
Build and test exit code: 0