• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

open-source-parsers / jsoncpp / 23124997896
90%
master: 90%

Build:
Build:
LAST BUILD BRANCH: refs/pull/1667/merge
DEFAULT BRANCH: master
Ran 16 Mar 2026 02:10AM UTC
Jobs 1
Files 8
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 Mar 2026 02:09AM UTC coverage: 89.937%. Remained the same
23124997896

Pull #1661

github

baylesj
Fix string_view ABI mismatch between library and consumers

The library was forced to build with CMAKE_CXX_STANDARD 11, so
JSONCPP_HAS_STRING_VIEW was never defined at compile time. Consumers
building with C++17 would see the string_view APIs in the header but
fail to link them.

Fix:
- Remove the global CMAKE_CXX_STANDARD 11 override; the existing
  target_compile_features(cxx_std_11) already enforces the minimum.
- Detect string_view support at configure time with
  check_cxx_source_compiles and export JSONCPP_HAS_STRING_VIEW as a
  PUBLIC compile definition on all library targets, so consumers
  always see the same value the library was built with.
- Guard the __cplusplus fallback in value.h so it does not override
  the CMake-set define.

Fixes #1595
Pull Request #1661: Fix string_view ABI mismatch between library and consumers

2168 of 2571 branches covered (84.33%)

Branch coverage included in aggregate %.

2551 of 2676 relevant lines covered (95.33%)

23996.04 hits per line

Jobs
ID Job ID Ran Files Coverage
1 23124997896.1 16 Mar 2026 02:10AM UTC 8
89.94
GitHub Action Run
Source Files on build 23124997896
  • Tree
  • List 8
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Pull Request #1661
  • PR Base - master (#23123515977)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc