ILE C/C++ Compiler Reference


nosigtrunc



>>-#--pragma--nosigtrunc---------------------------------------><
 
 

Description

Specifies that no exception is generated at run time when overflow occurs with packed decimals in arithmetic operations, assignments, casting, initialization, or function calls. This directive suppresses the signal that is raised in packed decimal overflow. The #pragma nosigtrunc directive can only occur at filescope. A warning message will be issued if the #pragma nosigtrunc directive is encountered at function, block or function prototype scope, and the directive will be ignored.

Notes on Usage

This #pragma directive has file scope and must be placed outside a function definition; otherwise it is ignored. A warning message may still be issued during compilation for some packed decimal operations if overflow is likely to occur. See WebSphere Development Studio: ILE C/C++ Programmer's Guide for more information about packed decimal errors.


[ Top of Page | Previous Page | Next Page | Table of Contents ]