1. 17 Sep, 2023 1 commit
  2. 10 Sep, 2023 2 commits
    • Kefu Chai's avatar
      CI: test with supported C++ standards (#1226) · 016b2e77
      Kefu Chai authored
      
      
      * CI: test with supported C++ standards
      
      let's test with the supported standards for better coverage.
      C++23 standard was just out, but the support on the toolchain is
      not quite ready yet. so let's leave it for a future change.
      Signed-off-by: default avatarKefu Chai <tchaikov@gmail.com>
      
      * CI: drop redundant Build step
      
      "Build Tests" is strictly a superset of "Build". in addition to
      the library, the former builds the tests also. both these
      steps share the same set of command line arguments. by removing
      "Build" step, we don't lose anything regarding the test coverage
      and information for further investigation if the build fails.
      Signed-off-by: default avatarKefu Chai <tchaikov@gmail.com>
      
      ---------
      Signed-off-by: default avatarKefu Chai <tchaikov@gmail.com>
      016b2e77
    • Kefu Chai's avatar
      Revert "node/convert: relax the check for string_view (#1222)" (#1225) · 2383e6d0
      Kefu Chai authored
      This reverts commit 62622011.
      
      in 62622011, we wanted address the needs to use the `string_view`
      converter in C++98, but that requirement was based on wrong
      preconditions. `std::string_view` was introduced in C++17, and
      popular standard libraries like libstdc++ and libc++ both provide
      `std::string_view` when the source is built with C++17.
      
      furthermore 62622011 is buggy. because it uses `<version>` to tell
      the feature set provided by the standard library. but `<version>`
      is a part of C++20. so this defeats the purpose of the change of
      62622011.
      
      Fixes #1223
      2383e6d0
  3. 06 Sep, 2023 1 commit
  4. 19 Aug, 2023 1 commit
    • Gianfranco Costamagna's avatar
      Fix testsuite with gcc-13 (#1216) · fcbb8193
      Gianfranco Costamagna authored
      cd /<<PKGBUILDDIR>>/build-static/test && /usr/bin/c++ -DYAML_CPP_STATIC_DEFINE -I/<<PKGBUILDDIR>>/test/integration -I/<<PKGBUILDDIR>>/test -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/include -isystem /usr/src/googletest/googlemock/include -isystem /usr/src/googletest/googlemock -isystem /usr/src/googletest/googletest/include -isystem /usr/src/googletest/googletest -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/yaml-cpp-0.8.0+dfsg-1~build1 -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++14 -Wno-variadic-macros -Wno-sign-compare -DGTEST_HAS_PTHREAD=1 -MD -MT test/CMakeFiles/yaml-cpp-tests.dir/binary_test.cpp.o -MF CMakeFiles/yaml-cpp-tests.dir/binary_test.cpp.o.d -o CMakeFiles/yaml-cpp-tests.dir/binary_test.cpp.o -c /<<PKGBUILDDIR>>/test/binary_test.cpp
      /<<PKGBUILDDIR>>/test/binary_test.cpp: In member function ‘virtual void BinaryTest_DecodingNoCrashOnNegative_Test::TestBody()’:
      /<<PKGBUILDDIR>>/test/binary_test.cpp:11:38: error: narrowing conversion of ‘-58’ from ‘int’ to ‘char’ [-Wnarrowing]
         11 |   std::string input{-58, -1, -99, 109};
            |                                      ^
      fcbb8193
  5. 16 Aug, 2023 1 commit
  6. 10 Aug, 2023 2 commits
  7. 24 Jul, 2023 1 commit
  8. 28 Jun, 2023 1 commit
  9. 23 Mar, 2023 1 commit
  10. 21 Mar, 2023 1 commit
  11. 04 Mar, 2023 4 commits
  12. 02 Mar, 2023 1 commit
  13. 04 Oct, 2022 1 commit
  14. 20 Sep, 2022 7 commits
  15. 31 May, 2022 1 commit
  16. 21 May, 2022 1 commit
  17. 27 Apr, 2022 1 commit
  18. 21 Apr, 2022 1 commit
  19. 19 Apr, 2022 1 commit
  20. 03 Apr, 2022 1 commit
  21. 01 Apr, 2022 4 commits
  22. 17 Feb, 2022 1 commit
  23. 08 Feb, 2022 1 commit
  24. 27 Jan, 2022 2 commits
  25. 06 Jan, 2022 1 commit