-
Notifications
You must be signed in to change notification settings - Fork 8
Fixed MSVC C3872 compiler errors by replacing the Greek alphabet symbols with their corresponding English names #33
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
Fixed MSVC C3872 compiler errors by replacing the Greek alphabet symbols with their corresponding English names #33
Conversation
…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.
|
Hi @ElMostafaIdrassi thanks for the PR, I'll try to review them soon. |
|
In the mean time, I'll let the CI run. |
…plate parameter eta
…iginal code logic
|
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. |
|
Tests seem to be passing locally |
itzmeanjan
left a comment
There was a problem hiding this 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
Compiling the current code using
MSVC 2022throws a lot ofC3872compiler errors such as:error C3872: '0x2030': this character is not allowed in an identifierfor theωsymbol for example.This is due to the fact that the
MSVCcompilerfollows the C++11 standard on characters allowed in an identifier: see Microsoft documentationThe issue is resolved by replacing the Greek alphabet symbols with their corresponding English names.