Compiler and Vendor Documentation

Compiler and Vendor Documentation

Reference links for MSVC, GCC, Clang, and implementation-specific compiler or library behavior.

Compiler and Vendor Documentation

Major compiler docs

When to use these

When to start here

Quick decision guide

  1. Use MSVC docs when the issue is Windows-focused, MSVC-flag-specific, or tied to the Microsoft standard library/runtime.
  2. Use GCC docs when the issue is about GNU extensions, libstdc++ behavior, or GNU toolchain flags.
  3. Use Clang docs when the issue involves sanitizers, diagnostics tuning, static analysis, or LLVM/Clang-specific behavior.

Cross-toolchain workflow

  1. Reproduce the behavior with the smallest possible source file.
  2. Build it with at least two compilers using strict warnings and the same language mode.
  3. Check vendor docs for the exact warning, flag, or extension involved.
  4. If behavior still differs, confirm whether the issue is standard wording, implementation choice, or undefined behavior in the program.

Practical comparison habits

Example in practice

  1. Pick one resource from this page.
  2. Use it to answer one concrete question about syntax, tooling, or workflow.
  3. Bring the result back into a local example or project build.