Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1834782

Summary: antlr3 runtime doesn't build in C++20 mode
Product: [Fedora] Fedora Reporter: Avi Kivity <avi.kivity>
Component: antlr3Assignee: Jerry James <loganjerry>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 32CC: dingyichen, java-sig-commits, loganjerry, mizdebsk, rafael, walters
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: antlr3-3.5.2-27.fc32 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-21 02:52:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Avi Kivity 2020-05-12 12:11:51 UTC
Description of problem:

C++20 tightened the rules around allocators a little, causing build failures in C++20 mode.

Version-Release number of selected component (if applicable):
antlr3-C++-devel-3.5.2-25.fc32.x86_64

How reproducible:

Always

Steps to Reproduce:
1. Build a generated parser in C++20 mode

Actual results:

Compile errors.

Expected results:

Success.

Additional info:

I have a patch and will post a pull request.

Comment 1 Fedora Update System 2020-05-12 15:23:33 UTC
FEDORA-2020-671e3d6b83 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-671e3d6b83

Comment 2 Fedora Update System 2020-05-13 03:55:55 UTC
FEDORA-2020-671e3d6b83 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-671e3d6b83`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-671e3d6b83

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2020-05-21 02:52:26 UTC
FEDORA-2020-671e3d6b83 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.