Intel® C++ Compiler 16.0 User and Reference Guide

Weffc++, Qeffc++

Enables warnings based on certain C++ programming guidelines.

Syntax

Linux and OS X:

-Weffc++

Windows:

/Qeffc++

Arguments

None

Default

OFF

Diagnostics are not enabled.

Description

This option enables warnings based on certain programming guidelines developed by Scott Meyers in his books on effective C++ programming. With this option, the compiler emits warnings for these guidelines:

Note

The warnings generated by this compiler option are based on the following books from Scott Meyers:

  • Effective C++ Second Edition - 50 Specific Ways to Improve Your Programs and Designs

  • More Effective C++ - 35 New Ways to Improve Your Programs and Designs

IDE Equivalent

Visual Studio: None

Eclipse: Compilation Diagnostics > Enable Warnings for Style Guideline Violations

Xcode: Diagnostics > Report Effective C++ Violations

Alternate Options

None