C++

LLVM
Article

Extend C++ capabilities with LLVM STLExtras.h

Jan Kratochvil

We look at how the LLVM compiler header file called STLExtras.h extends the capabilities of C++ without any dependency on the rest of LLVM.

C++ Hawaii Meeting Report
Article

Report from February 2019 ISO WG21 C++ Standards Committee Meeting

Thomas Rodgers

The February 2019 ISO C++ meeting was held in Kailua-Kona, Hawaii. As usual, Red Hat sent three of us to the meeting: I attended in the SG1 (parallelism and concurrency) group, Jonathan Wakely in Library, and Jason Merrill in the Core Working Group (see Jason's report here ). In this report, I'll cover a few highlights of the meeting, focusing on the papers that were discussed. The first part of the week in SG1 was spent primarily on papers related...

C++11
Article

Understanding when not to std::move in C++

Marek Polacek

New warnings have been added to GCC 9 that can help with wrong or redundant usage of std::move in C++ code. Learn how to enable them.

GNU C Library
Article

A platform interface for the GNU C Library

Carlos O'Donell

You can't backport patches forever. At some point you have to rebase. How do you ensure applications continue compiling? Can you do both? Yes you can.

Red Hat Developer
Article

What's new in OpenMP 5.0

Jakub JelĂ­nek

This article highlights features, changes, and “gotchas” to look for in the latest version of the OpenMP standard, OpenMP 5.0.

Red Hat Developer
Article

A gentle introduction to jump threading optimizations

Aldy Hernandez

This article describes GCC compiler optimizations for jump threading. Jump threading's major goal is to reduce the number of dynamically executed jumps on different paths through the program's control flow graph, which often results in improved performance due to the reduction of conditionals and, in turn, enables further optimizations.

Red Hat Developer
Article

Understanding GCC warnings, Part 2

Martin Sebor

This article focuses on flow-based warnings that have increasingly been implemented in what GCC calls the "middle end." Limitations of middle-end warnings are discussed, as are false positives in middle-end warnings and possible solutions.

GNU C library
Article

Understanding GCC warnings

Martin Sebor

This article sheds light on how warnings work in GCC, why some warnings are false, and when warnings might not be output. Also discussed are the trade-offs made when implementing checks in GCC.

GNU C library
Article

Usability improvements in GCC 9

David Malcolm

The upcoming GCC 9 release will have improved diagnostic messages, simpler C++ errors, more accurate error location reporting, and optional machine readable output for developer tools.

Featured image for: Report from the virtual ISO C++ meetings in 2020 (core language).
Article

November 2018 ISO C++ meeting trip report (Core Language)

Jason Merrill

At the fall 2018 ISO C++ standards committee meeting, proposals for new C++ features were discussed, though some features that had been expected to make C++20 are now in question. Read about the new C++ core language features that were accepted at this meeting.

RHEL
Article

Support Lifecycle for Clang/LLVM, Go, and Rust

Bob Davis

Red Hat has recently released Clang/LLVM, Go, and Rust as General Availability. This article covers the support lifecycle and release cadence for these compilers.

Red Hat Developer Toolset
Product

Red Hat Developer Toolset

Latest stable versions of GCC (C, C++, Fortran), Eclipse, GDB, SystemTap, and essential development and performance analysis tools.

GNU C library
Article

GCC 8 and tools now in beta for Red Hat Enterprise Linux 6 and 7

Mike Guerette

We are pleased to announce the immediate availability of Red Hat Developer Toolset 8 beta for Red Hat Enterprise Linux 6 and 7. The key new components for this release are: GCC 8.2.1 GDB 8.2 Updated components such as SystemTap, Valgrind, OProfile, and many more To get started, see: How to install GCC 8 on Red Hat Enterprise Linux . For more details, see the "New Features" section below. About Red Hat Developer Toolset Twice a year, Red Hat distributes...