GBS Logo Generic Build Support (GBS) - User Manual HOME
The sca_*.gbs files

Purpose

The sca_target.gbs files are used to define the behaviour of SCA Audits.
The target specifies the associated Target

The sca_target.gbs files are placed in the following locations:

General

Please refer to .gbs files: General information

Additional for this file:

Contents:

Syntax:

+|-flag value | value-list

The file is basically a 'flags' file.
Flags are switched on and off by placing a '+' or '-' in front
One flag per line
Possible flags are: E F Q T

Semantics:

E value-list
Enables/Disables Warnings/Errors from the sca tool.
value-list
ALL | warning/error-number
F value
Specifies the Format of the warning/error message on stdout.
value
NONE | DEFAULT | PCLINT | VISUAL_C | GNU_C | ECLIPSE
Q path
Ignore (Quiet) warnings/errors in the specified path / file-spec.
path
File or Directory Path
Note that system header-files and files in GBS_EXT_PATH are Quieted by default.
T threshold_expression
Override Threshold setting for a Metric.
threshold_expression
Syntax:
metric_name=[min_value][,max_value][:msg_nr]
Either min_value or max_value must be specified, or both.
msg_nr: Specifies a use-defined message to be output after file-analysis.
Not implemented yet.

Notes:

None

Example of a sca_*.gbs:

#========================================================
#   [SYSAUDIT:pclint[mingw]] sca_mingw.gbs
#========================================================

+E ALL
+E 537           # Repeated include file name
-E 1042          # At least one class-like operand is required with operator 

+Q $GBSEXT_MINGW_CPP_PATH

+F NONE

+T TLN=20,400:6001

###EOF###