1. 10 Sep, 2023 1 commit
    • 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
  2. 06 Sep, 2023 1 commit
  3. 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
  4. 16 Aug, 2023 1 commit
  5. 10 Aug, 2023 2 commits
  6. 24 Jul, 2023 1 commit
  7. 28 Jun, 2023 1 commit
  8. 23 Mar, 2023 1 commit
  9. 21 Mar, 2023 1 commit
  10. 04 Mar, 2023 4 commits
  11. 02 Mar, 2023 1 commit
  12. 04 Oct, 2022 1 commit
  13. 20 Sep, 2022 7 commits
  14. 31 May, 2022 1 commit
  15. 21 May, 2022 1 commit
  16. 27 Apr, 2022 1 commit
  17. 21 Apr, 2022 1 commit
  18. 19 Apr, 2022 1 commit
  19. 03 Apr, 2022 1 commit
  20. 01 Apr, 2022 4 commits
  21. 17 Feb, 2022 1 commit
  22. 08 Feb, 2022 1 commit
  23. 27 Jan, 2022 2 commits
  24. 06 Jan, 2022 1 commit
  25. 15 Dec, 2021 1 commit
    • TheVice's avatar
      Fix shared library tests for Windows (#1074) · d8d94190
      TheVice authored
      Add copying of shared library to the output directory with a test binary.
      
      [binary] removed using of non unsigned char as argument at
      'std::isspace' function that was provokes undefined behavior.
      
      [.github/workflows/build.yml] enabled run of test at the
      'windows-latest' environment.
      d8d94190
  26. 10 Dec, 2021 1 commit