[
https://issues.apache.org/jira/browse/AVRO-3995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gerrit Birkeland updated AVRO-3995:
-----------------------------------
Description:
In August of 2023 a commit was merged to Avro which effectively forced all
users of the project to compile with C\+\+17 at a minimum, but this wasn't
enforced by the build system anywhere, so currently attempting to compile Avro
with a C\+\+11 or C\+\+14 compiler will result in build errors rather than an
obvious message telling the user what is wrong.
Avro should provide a user friendly error message when attempting to compile
the library with an unsupported C++ standard.
was:
In August of 2023 a commit was merged to Avro which effectively forced all
users of the project to compile with C++17 at a minimum, but this wasn't
enforced by the build system anywhere, so currently attempting to compile Avro
with a C++11 or C++14 compiler will result in build errors rather than an
obvious message telling the user what is wrong.
Avro should provide a user friendly error message when attempting to compile
the library with an unsupported C++ standard.
> [C++] Update build system to disallow compiling with unsupported language
> versions
> ----------------------------------------------------------------------------------
>
> Key: AVRO-3995
> URL: https://issues.apache.org/jira/browse/AVRO-3995
> Project: Apache Avro
> Issue Type: Improvement
> Components: c++
> Affects Versions: 1.11.3
> Reporter: Gerrit Birkeland
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> In August of 2023 a commit was merged to Avro which effectively forced all
> users of the project to compile with C\+\+17 at a minimum, but this wasn't
> enforced by the build system anywhere, so currently attempting to compile
> Avro with a C\+\+11 or C\+\+14 compiler will result in build errors rather
> than an obvious message telling the user what is wrong.
> Avro should provide a user friendly error message when attempting to compile
> the library with an unsupported C++ standard.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)