On Wed, 24 Jun 2009, Szak�ts Viktor wrote: > Przemek, are you working on this now?
I haven't started yet. > For a start, I'd like to change to these: > extern HB_EXPORT const char * hb_parc( int iParam ); > extern HB_EXPORT const char * hb_parcx( int iParam ); > extern HB_EXPORT const char * hb_itemGetCPtr( PHB_ITEM pItem ); > After that we can in parallel fix warnings (and errors). Please commit it. Tonight I'll try to check other public functions which may need commit. In few cases we can also add 'restrict' attribute (I added HB_RESTRICT to hbsetup.h for compilers which may not support C99 'restrict' keyword) It should help modern C/C++ compilers in code optimization. > Or, how to make this the most efficient? I do not now any other way then updating the code manually. After modifying header files warning messages can help us to locate places which should be updated. Not all because using casting we pacified some important warning messages but I hope we will locate such places later and updating them systematically. best regards, Przemek _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour