I have this code since years, with latest svn it gives:
assignment discards qualifiers from pointer target type
How can I pacify the warning without breaking Clipper compatibility?
best regards,
Lorenzo
/*
* purpose: to convert a spreadsheet string into its numeric value
* syntax: realiee( cIEEStr )
* returns: nValue
*/
#ifdef __HARBOUR__
HB_FUNC( REALIEE )
#else
CLIPPER Realiee()
#endif
{
int i;
char *t;
t = _parc(1);
for (i = 0; i < 8; i++)
v.s[i] = *t++;
_retnd( v.n );
}
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour