tristanpenman / valijson

Header-only C++ library for JSON Schema validation, with support for many popular parsers
BSD 2-Clause "Simplified" License
351 stars 105 forks source link

Qt bundle script: missing #include <limits> #162

Closed ilario-gottardello closed 2 years ago

ilario-gottardello commented 2 years ago

When generating a bundle for Qt types, the resulting header file will not compile correctly because "\<limits>" is included after usage. The first point where it is needed is on line 2490 but the header is included only at line 2981. Adding an include before that fixes the problem.

I am using valijson version 0.7 from Releases

tristanpenman commented 2 years ago

Can you let me know if commit d397ac6 addresses the issue for you?

tristanpenman commented 2 years ago

Closing this for now, since the issue should be resolved. Please re-open this issue if you are still having trouble with this.