Open rhysd opened 5 years ago
As long as PICO JSON uses std:: it will not be usable in "no exceptions" projects.
Since PICO JSON is "pico" it will be not a big job (I assume) to make it usable with alternatives to std:: containers. One example is EASTL.
The first step might be a slight redesign so that PICO JSON itself does not throw exceptions.
at least libc++ supports -fno-exceptions
Go ahead: fork and pull :)
Repro
foo.cc
with below contentclang++ -fno-exceptions foo.cc
Expected
It compiles successfully
Actual
Many compilation errors for example: