We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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;
When will be available this new version ? I'm having warning troubles too.