facebook / facebook/folly

complie erron on windows msvc

Open
#2,047 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
30.5k
Forks
5.9k
PR merge metrics
No merged PRs in 30d

Description

build with command "python3 ./build/fbcode_builder/getdeps.py --allow-system-packages build"
The error message:
Base64SpecialCasesTest.cpp(58): error C2131: expression did not evaluate to a constant

how can i solve this problem?

Contributor guide

Open the contributing guide

Research direction

Reproduce the Windows MSVC build with `python3 ./build/fbcode_builder/getdeps.py --allow-system-packages build`, then inspect `Base64SpecialCasesTest.cpp` around line 58 and the reported C2131 diagnostic. Done means the build completes successfully with MSVC and the Base64SpecialCases test no longer produces this compile error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.