Skip to content

Glossary: C++ Beyond the Basics

Compiler flags

Also written: -Wall, -Wextra, -pthread, -g

Options given to the compiler: `-Wall -Wextra` enable warnings, `-pthread` links thread support on Linux, and `-g` adds line numbers for debugging.

Where the book teaches it

Related terms

OptimizerThreadSanitizer (TSan)