Hello All! I have a problem with my existing projects since upgrade from 5.04b to 6.02. With 5.04 all code samples below compile and work fine! The new compiler version is much more agressive with some warnings as stated in the release notes. The following code does generate a warning C98 - pointer to different objects:
unsigned char sigCount[4]; unsigned long sigId[4]; word Function( void ) { memset( sigCount, 0, sizeof( sigCount ) ); memset( sigId, 0, sizeof( sigId ) ); }
typedef struct { unsigned int i; unsigned char c; ... } FIDES; FIDES FilterDs; memset( &FilterDs, 0, sizeof(FIDES));
unsigned char a, b, c; ... c = ( a ^ b ) & b;
c = (unsigned char)( a ^ b ) & b; c = a ^ b;
Actually we have already seen that sometimes the WARNINGS are too aggressive. We have reduced on some places the warnings. A new version will be available in a very short time. Reinhard
When will be available this new version ? I'm having warning troubles too.