>> 2009-12-05 13:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
>>  * src/rtl/gtos2/Makefile
>>  * config/os2/watcom.mk
>>    % Changed the way -s option is disabled for certain modules
>>      (currently gtos2).
>>      This method doesn't require new variable, although it's still 
>>      a hack.
> 
> I intentionally haven't used such method because also some contrib
> code may need it. Anyhow I've just written simple script which
> extracts all APIENTRY16 functions from OS2 OpenWatcom header files
> and then scans Harbour source code for each of them and now only
> GTOS2 uses such functions. Below is result of full scan.

I see, thank you. Well, I'd contain this hack in as few source 
locations as possible, so in case we may need it in any contrib 
in the future, we can restore your solution.

Much better would be if someone (David?) reported this issue to the 
OpenWatcom developers, so that it can be fixed and such local 
hacks dropped, since it's a time-bomb, and even 3rd party code 
may exploit this bug (hbmk2 has -s switch enabled for watcom). 
Then all we'd need to do is document that x.y version is required 
due to buggy older version.

Brgds,
Viktor

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to