Weffc++, Qeffc++

This option enables warnings based on certain C++ programming guidelines.

IDE Equivalent

Linux: Compilation Diagnostics > Enable Warnings for Style Guideline Violations

Architectures

IA-32 architecture, Intel® 64 architecture, IA-64 architecture

Syntax

Linux and Mac OS: -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 with these compiler option are based on the following books from Scott Meyers:

Alternate Options

None