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

Can`t compile in VS2022 #240

Open
9241304 opened this issue Aug 25, 2024 · 3 comments
Open

Can`t compile in VS2022 #240

9241304 opened this issue Aug 25, 2024 · 3 comments

Comments

@9241304
Copy link

9241304 commented Aug 25, 2024

What happened?

cpprealm\macros.hpp(232,39): error C1112: compiler limit: '202' too many macro parameters, only '127' allowed

Repro steps

Add to src this line
#include <cpprealm/sdk.hpp>

Version

2.1.0

Installation method

CMake 3.29

What Atlas Services are you using?

Local Database only

Compiler

msvc 14

OS and version

Windows 11 23H2

Code snippets

No response

Stacktrace of the exception/crash you're getting

No response

Relevant log output

No response

Copy link

sync-by-unito bot commented Aug 25, 2024

➤ PM Bot commented:

Jira ticket: RCPP-90

@MihirLuthra
Copy link

Yea, blocking me from using it too.

@MihirLuthra
Copy link

I see this has already been answered here: #197 (comment).

We can enable standard conforming preprocessor to get around this issue: https://learn.microsoft.com/en-us/cpp/build/reference/zc-preprocessor?view=msvc-170.

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

No branches or pull requests

2 participants