rizsotto / Bear

Bear is a tool that generates a compilation database for clang tooling.
GNU General Public License v3.0
4.79k stars 314 forks source link

Unable to compile on nlohmann/json-3.10.3 #420

Closed TheAifam5 closed 2 years ago

TheAifam5 commented 2 years ago

Describe the bug bear-3.0.16 was able to compile with nlohmann/json-3.10.2 but not with nlohmann/json-3.10.3

To Reproduce Steps to reproduce the behavior:

  1. Compile bear-3.0.16 with nlohmann/json-3.10.3

Expected behavior bear is able to be compiled with 3.10.3

Environment:

Refs nlohmann/json #3070 - "Version 3.10.3 breaks backward-compatibility with 3.10.2"

gyakovlev commented 2 years ago

just for the record, bear-3.0.16-r1 in gentoo requires nlohmann_json version to be 3.10.2 at max as a temorary workaround now. will remove the limitation after situation is fixed.

rizsotto commented 2 years ago

This is a downstream problem, not much I can do on Bear side other than document that version of the dependency won't compile. :shrug: