Object code control
Causes the sizeof operator to return the widened size for function return types.
When the WSIZEOF compiler option is in effect, sizeof returns the size of the widened type for function return types instead of the size of the original return type.
When the NOWSIZEOF compiler option is in effect, sizeof returns the size of the original return type.
NOWSIZEOF
char foo();
i = sizeof foo();
Using the z/OS® XL C/C++ compiler, i has a value of 1, which is the size of the original type char.
The WSIZEOF compiler option toggles the behavior of the sizeof operator between that of the C and C++ compilers prior to and including C/C++ MVS Version 3 Release 1, and z/OS XL C/C++.
None.