BTW, seeing hbdefs.h. Current method for OS/2 is wrong, and should be fixed.
<os2.h> should only be included when legacy types are enabled. This means that <os2.h> has to be manually #included in every source file where it's currently missing from, along with proper INCL_ macros needed in each specific source file. I'll fix this, but it may need more passes of fixes to get it completely clean. Brgds, Viktor On 2010 Feb 22, at 13:50, Viktor Szakáts wrote: > Hi, > >> I need help on three areas: >> >> 1) Maurilio: to check changes in hbdefs.h >> /* 28/03/2000 - [email protected] >> The same holds true when using GCC under OS/2 >> */ >> /* xx/02/2010 - [email protected] >> Include all OS/2 API definitions to make sure other involved parties >> (such as Qt for OS/2) will get everything they want >> */ >> #define OS2EMX_PLAIN_CHAR >> #define INCL_BASE >> #define INCL_PM >> #include <os2.h> >> #undef INT >> #undef UINT >> #define HB_DONT_DEFINE_BASIC_TYPES > > To give everything that's needed for HBQT, > these must be put inside hbqt.h header, not > hbdefs.h. > > [ Including everything in central header, > just to satisfy some contribs, or some > specific core parts is simple, but wrong > solution, and quite complicated to clean > later. ] > > Brgds, > Viktor > _______________________________________________ Harbour mailing list (attachment size limit: 40KB) [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
