Here are examples of the CHAR to JCHAR warning
and a "macro redefinition" warning that we get during
during an NER build.
We ran into the CHAR to JCHAR at both my last, and current site.
Both are XE to 9.x upgrades.
Both 9.x are on iSeries (AS/400) platforms. Coincidence? Probably not.
I haven't noticed the "macro redefinition" prior to my current site, but it is pointing at base tables.
I'm seeing a lot of these in the log.
\\MN001HJA001\E900\DV900\package\FDV031013\include\f5800061.h(24) : warning C4005: 'NID_UPMT' : macro redefinition
\\MN001HJA001\E900\DV900\package\FDV031013\include\f00921.h(62) : see previous definition of 'NID_UPMT'
\\MN001HJA001\E900\DV900\package\UDV130410\source\N580111D.c(1198) : warning C4133: 'function' : incompatible types - from 'char [11]' to 'const JCHAR *'
\\MN001HJA001\E900\DV900\package\UDV130410\source\N580111D.c(1633) : warning C4133: 'function' : incompatible types - from 'char [11]' to 'const JCHAR *'
\\MN001HJA001\E900\DV900\package\FDV031013\include\f580103.h(10) : warning C4005: 'NID_SHAN' : macro redefinition
\\MN001HJA001\E900\DV900\package\FDV031013\include\f4201.h(36) : see previous definition of 'NID_SHAN'
As noted, they are warnings, the NER builds, and seems to function correctly.
REMO - OUCH, that left a mark!