When the -int_to_short option is specified and a file including a C standard header is compiled as C++ or EC++, the compiler may show the W0523041 message. In this case, simply ignore the message because there are no problems.
In compilation of C++ or EC++, the -int_to_short option will be invalid.
Data that are shared between C and C++ (EC++) program must be declared as the long or short type rather than as the int type.