dropbox / json11

A tiny JSON library for C++11.
MIT License
2.54k stars 613 forks source link

[WIP - Do not pull] Switch off compiler errors for floating point value comparison #105

Closed crashmatt closed 7 years ago

crashmatt commented 7 years ago

Work in progress - Do not pull

Does:

pragma diagnostic push

pragma diagnostic ignored "-Wfloat-equal"

...code...

pragma diagnostic pop

Works nicely in target project when this is wrapped around json11.cpp only When building test.cpp it needs to go in json11.ccp and test.cpp

Not the clean solution desired.

smarx commented 7 years ago

Automated message from Dropbox CLA bot

@crashmatt, thanks for the pull request! It looks like you haven't yet signed the Dropbox CLA. Please sign it here.

crashmatt commented 7 years ago

Closing - Will maintain my own fork.