Skip to content

Fix inconsistent compile condition of two related macros#2285

Open
EstherWx wants to merge 1 commit intoTencent:masterfrom
EstherWx:inconsistent-condition
Open

Fix inconsistent compile condition of two related macros#2285
EstherWx wants to merge 1 commit intoTencent:masterfrom
EstherWx:inconsistent-condition

Conversation

@EstherWx
Copy link
Copy Markdown
Contributor

@EstherWx EstherWx commented Jun 3, 2024

The compile conditions of RAPIDJSON_48BITPOINTER_OPTIMIZATION and RAPIDJSON_64BIT are different. But there will be an error when RAPIDJSON_48BITPOINTER_OPTIMIZATION = 1, RAPIDJSON_64BIT != 1.

Define RAPIDJSON_48BITPOINTER_OPTIMIZATION as RAPIDJSON_64BIT to fix this problem.

Issue: #2281

The compile conditions of RAPIDJSON_48BITPOINTER_OPTIMIZATION and
RAPIDJSON_64BIT are different. But there will be an error when
RAPIDJSON_48BITPOINTER_OPTIMIZATION = 1, RAPIDJSON_64BIT != 1.

Define RAPIDJSON_48BITPOINTER_OPTIMIZATION as RAPIDJSON_64BIT to fix
this problem.

Issue: Tencent#2281
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

Successfully merging this pull request may close these issues.

1 participant