antlr / antlr/antlr4

VCPKG cannot build the library | new release request

Open
#4,871 1 comment 5 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
19k
Forks
3.5k
PR merge metrics
No merged PRs in 30d

Description

Hi! After Visual Studio/vcpkg update I cannot use antlr4 as a library anymore. It has a build error regarding chrono usage in ProfilingATNSimulator.cpp

`error C2653: 'high_resolution_clock': is not a class or namespace name`

I see that this issue is being fixed in https://github.com/antlr/antlr4/commit/df4d68c09cdef73e023b8838a8bc7ca4dff1d1de and https://github.com/antlr/antlr4/commit/af7edc54a7ffd25cb89bf1bc020bc156e08c0b8c but there is no new release.

Could you please make a new release and possibly push it in a vcpkg repo?
Thanks!

Contributor guide

Open the contributing guide

Research direction

Start with the reported error in ProfilingATNSimulator.cpp and review commits df4d68c09cdef73e023b8838a8bc7ca4dff1d1de and af7edc54a7ffd25cb89bf1bc020bc156e08c0b8c. Done means a new release containing the chrono fix is available and, if supported, the corresponding vcpkg package is updated.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system, release
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.