Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some troubles to compile the last revision #2177

Closed
aliktab opened this issue Jun 6, 2020 · 2 comments · Fixed by #2174
Closed

Some troubles to compile the last revision #2177

aliktab opened this issue Jun 6, 2020 · 2 comments · Fixed by #2174
Assignees
Labels
confirmed kind: bug solution: proposed fix a fix for the issue has been proposed and waits for confirmation
Milestone

Comments

@aliktab
Copy link

aliktab commented Jun 6, 2020

/libs/json/include/nlohmann/json.hpp:6735:5: error: an attribute list cannot appear here
JSON_HEDLEY_DEPRECATED_FOR(3.8.0, sax_parse(ptr, ptr + len, ...))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/libs/json/include/nlohmann/thirdparty/hedley/hedley.hpp:946:110: note: expanded from macro 'JSON_HEDLEY_DEPRECATED_FOR'
#define JSON_HEDLEY_DEPRECATED_FOR(since, replacement) JSON_HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_([[deprecated("Since " #since "; use " #replacement)]])
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/json/include/nlohmann/thirdparty/hedley/hedley.hpp:693:5: note: expanded from macro 'JSON_HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_'
xpr \

Apple clang version 11.0.3 (clang-1103.0.32.62)
Target: x86_64-apple-darwin19.5.0
Thread model: posix

@nlohmann
Copy link
Owner

nlohmann commented Jun 6, 2020

Sorry about that - #2174 should fix this.

@nlohmann nlohmann added solution: proposed fix a fix for the issue has been proposed and waits for confirmation confirmed labels Jun 6, 2020
@nlohmann nlohmann self-assigned this Jun 6, 2020
@nlohmann nlohmann added this to the Release 3.8.0 milestone Jun 6, 2020
@nlohmann nlohmann linked a pull request Jun 6, 2020 that will close this issue
@aliktab
Copy link
Author

aliktab commented Jun 6, 2020

yes it fix it

@aliktab aliktab closed this as completed Jun 6, 2020
nlohmann added a commit that referenced this issue Jun 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
confirmed kind: bug solution: proposed fix a fix for the issue has been proposed and waits for confirmation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants