BullseyeCoverage Up Contents Search

Problematic Warnings Suppressed

SYMPTOMS

Some compiler warnings occur when you build without BullseyeCoverage, but those warnings do not occur when BullseyeCoverage is enabled.

CAUSE

The BullseyeCoverage instrumentation introduces some complexity that could cause a compiler to issue an improper warning that does not occur without the instrumentation. BullseyeCoverage suppresses these warnings in order to avoid introducing new warnings (which may be treated as errors). Where possible, BullseyeCoverage only suppresses the specific problematic warnings. The warnings may include, but are not limited to, the issues listed below.

RESOLUTION

To check for compiler warnings, build with BullseyeCoverage disabled.

MORE INFORMATION

BullseyeCoverage uses source code instrumentation, which introduces additional complexity to the compiler. The criteria compilers use to decide whether to issue warnings may depend upon the result of code generation and optimization, which are affected by the code complexity. For example, the additional complexity may cause a compiler to fail to determine whether a certain path through the code is possible.

Updated: 16 Oct 2023