Skip to content

Conversation

@jschwe
Copy link
Member

@jschwe jschwe commented Jun 21, 2025

MSVC doesn't support C++11 and defaults to C++14, so we just don't set a flag for MSVC.

The upstream build systems for Woff2 uses C++11 as well as ots.

Note: This PR is based on #39, so only need to review the last commit.

@jschwe jschwe force-pushed the msvc-build-warning branch from 6ac6aad to 0905b71 Compare June 21, 2025 06:46
MSVC does not offer a C++11 mode, so passing the flag
triggers an unknown flag warning.

```
warning: fontsan@0.6.0: cl : Command line warning D9002 : ignoring unknown option '-std:c++11'
```
@jschwe jschwe force-pushed the msvc-build-warning branch from 0905b71 to e6fb9fb Compare June 21, 2025 10:51
@jschwe jschwe enabled auto-merge June 21, 2025 10:52
@jschwe jschwe added this pull request to the merge queue Jun 21, 2025
Merged via the queue into servo:main with commit 63f3cde Jun 21, 2025
9 checks passed
@jschwe jschwe deleted the msvc-build-warning branch June 21, 2025 10:58
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