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

VS 2019 'argument to a feature-test macro must be a simple identifier' error #60

Open
bharaths-ncircletech opened this issue Aug 16, 2023 · 1 comment

Comments

@bharaths-ncircletech
Copy link

Hi,

When used as a part of 'nlohmann/json' following error is coming
Error: 'argument to a feature-test macro must be a simple identifier'
File: hedley.hpp
Line: 1708
(please refer the image)

Visual Studio: 2019
C++: 17
Project Info: AddOn migration from ArchiCAD 26 to ArchiCAD 27 - Tech Preview Version

I started learning C++ and for one of our migration projects we use this. Please suggest a resolution that can be implemented.

Hedley-JSON Library Issue 01

I know this is similar to one of the previous issues, but I don't know how this can be solved.
Let me know if any further information is needed.

Thanks & Regards

@nemequ
Copy link
Owner

nemequ commented Sep 25, 2024

Hey, thanks for filing this. Sorry it took so long for me to get around to looking at it…

We have a CI build for VS 2019 and the fallthrough test doesn't complain. Are you still able to reproduce this problem? If so would it be possible to provide the compiler flags, and a complete version number (just run cl.exe without any arguments, it should print the version)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants