Skip to content

error C3872: '0xbb': this character is not allowed in an identifier - Building on windows with MSVC #11

@squee72564

Description

@squee72564

When building on windows with MSVC I get the following error:

...\black_hole\2D_lensing.cpp(20,31): error C3872: '0xbb': this character is not all
owed in an identifier [...\black_hole\build\BlackHole2D.vcxproj]

It is the lambda character "λ" that is found is some of the variable names.

According to the C++ standard I'm pretty sure that it is technically okay to have this, but maybe MSVC just doesn't allow it.

Maybe just change that character to "_lambda" or something in each case?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions