Fokko commented on PR #2966:
URL: https://github.com/apache/avro/pull/2966#issuecomment-2220403259

   Almost there:
   
   ```
   [ 63%] Building CXX object CMakeFiles/CodecTests.dir/test/CodecTests.cc.o
   /home/runner/work/avro/avro/lang/c++/test/CodecTests.cc: In function 
‘avro::ValidSchema avro::parsing::makeValidSchema(const char*)’:
   /home/runner/work/avro/avro/lang/c++/test/CodecTests.cc:528:12: error: 
useless cast to type ‘class avro::ValidSchema’ [-Werror=useless-cast]
     528 |     return ValidSchema(vs);
         |            ^~~~~~~~~~~~~~~
   cc1plus: all warnings being treated as errors
   gmake[2]: *** [CMakeFiles/CodecTests.dir/build.make:76: 
CMakeFiles/CodecTests.dir/test/CodecTests.cc.o] Error 1
   gmake[2]: Target 'CMakeFiles/CodecTests.dir/build' not remade because of 
errors.
   gmake[1]: *** [CMakeFiles/Makefile2:826: CMakeFiles/CodecTests.dir/all] 
Error 2
   [ 64%] Building CXX object CMakeFiles/StreamTests.dir/test/StreamTests.cc.o
   [ 65%] Linking CXX executable StreamTests
   [ 65%] Built target StreamTests
   [ 66%] Building CXX object 
CMakeFiles/SpecificTests.dir/test/SpecificTests.cc.o
   [ 67%] Linking CXX executable SpecificTests
   [ 67%] Built target SpecificTests
   [ 68%] Building CXX object 
CMakeFiles/DataFileTests.dir/test/DataFileTests.cc.o
   /home/runner/work/avro/avro/lang/c++/test/DataFileTests.cc: In function 
‘avro::ValidSchema makeValidSchema(const char*)’:
   /home/runner/work/avro/avro/lang/c++/test/DataFileTests.cc:126:12: error: 
useless cast to type ‘class avro::ValidSchema’ [-Werror=useless-cast]
     126 |     return ValidSchema(vs);
         |            ^~~~~~~~~~~~~~~
   cc1plus: all warnings being treated as errors
   gmake[2]: *** [CMakeFiles/DataFileTests.dir/build.make:76: 
CMakeFiles/DataFileTests.dir/test/DataFileTests.cc.o] Error 1
   gmake[2]: Target 'CMakeFiles/DataFileTests.dir/build' not remade because of 
errors.
   gmake[1]: *** [CMakeFiles/Makefile2:904: CMakeFiles/DataFileTests.dir/all] 
Error 2
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to