Author Points Out That GCC and Clang Don't Conform to the C++ Standard

Translated by a model; the original is in Russian.

· Программы
A new publication argues that neither GCC nor Clang implements the C++ standard in full accordance with its requirements. The piece presents the author's observations on the discrepancies between the language specification and the behavior of popular compilers.

cover.svg

The author of a piece published on sebsite.pw argues that neither the GCC compiler nor Clang fully conforms to the C++ standard.

GCC and Clang remain the two most widely used C++ compilers in the world of free and open-source software, and beyond it as well. For many years, both projects have been presented by their developers as striving for maximum compatibility with the language standard ratified by the ISO committee.

According to the author of the publication, in practice both compilers permit deviations from the requirements of the C++ standard. The details of the specific discrepancies and their technical analysis are given in the piece itself at the link provided.

The question of compilers fully conforming to the C++ standard is regularly raised within the developer community, since the language has a highly complex specification, and implementing it in specific tools demands considerable effort from the GCC and LLVM/Clang teams.

The author does not specify exactly which versions of the compilers and the standard are being discussed — this information is contained directly in the original text.


Source: Lobsters

Comments

Sign in, to comment.

  • No comments yet.