Loading...
Select Version
&pagelevel(4)&pagelevel
#pragma int_to_unsigned
name
The pragma is supported because it may be contained in older C sources, typically those ported from a UNIX system. It only works in K&R mode and instructs the compiler to treat a function name with the result type unsigned
as if its result type were still int
.
The declaration of the function name with the result type unsigned
must appear before the #pragma
directive, e.g.:
unsigned int function(const char*);
#pragma int_to_unsigned function