Skip to content

Conversation

@ElMostafaIdrassi
Copy link
Contributor

Compiling the current code using MSVC 2022 throws a lot of C3872 compiler errors such as:
error C3872: '0x2030': this character is not allowed in an identifier for the ω symbol for example.

This is due to the fact that the MSVC compiler follows the C++11 standard on characters allowed in an identifier : see Microsoft documentation

The issue is resolved by replacing the Greek alphabet symbols with their corresponding English names.

…ls with their corresponding English names.

Compiling the current code as it is using MSVC 2022 throws a lot of C3872 compiler errors such as "error C3872: '0x2030': this character is not allowed in an identifier".
This is due to the fact that the MSVC compiler 'follows the C++11 standard on characters allowed in an identifier'. See https://learn.microsoft.com/en-us/cpp/error-messages/compiler-errors-2/compiler-error-c3872?view=msvc-170.
The issue is resolved by replacing the Greek alphabet symbols with their corresponding English names.
@itzmeanjan
Copy link
Owner

Hi @ElMostafaIdrassi thanks for the PR, I'll try to review them soon.

@itzmeanjan
Copy link
Owner

In the mean time, I'll let the CI run.

@itzmeanjan itzmeanjan self-requested a review June 24, 2025 16:24
@itzmeanjan
Copy link
Owner

itzmeanjan commented Jun 24, 2025

You can locally run tests before pushing to your branch, that way you should be able to avoid many of these issues. Have a look at the README for how to run tests.

@ElMostafaIdrassi
Copy link
Contributor Author

Tests seem to be passing locally

Copy link
Owner

@itzmeanjan itzmeanjan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks @ElMostafaIdrassi

@itzmeanjan itzmeanjan merged commit 772e0f3 into itzmeanjan:master Jun 26, 2025
24 checks passed
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.

2 participants