Hi,
I seem to have found a bug in Resources.ewu which is causes the following compiler error:
assignment makes integer from pointer without a cast [-Werror]
The code at line 329 reads
native ( name, handle )
{
extern XBitmap* EwLoadExternBitmap( XString aName );
handle = EwLoadExternBitmap( name );
}
This should actually be:
native ( name, handle )
{
extern XBitmap* EwLoadExternBitmap( XString aName );
handle = (XHandle) EwLoadExternBitmap( name );
}
This is because handle is defined as an unsigned integer, so it is necessary to cast the pointer to the correct type in order to aviod a compiler warning (which results in a build error in gcc when -Werror is set).
Regards
Tim