[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Newsie



Am Do, 11.11.2010, 20:30 schrieb Miro Kropacek:

>> gcc throws up loads of warnings and errors in the code, it's amazing.
>>
> That means the code is most probably very badly written.

Maybe many of the errors disappear after inluding the Gemlib headers (and
changing Constant names to the ones that gemlib uses).

If I remeber correctly, gemlib uses some short prefixes for flags like
TOUCHEXIT, like OS_TOUCHEXIT (just an example, probably not really the
correct Name...).

But there was a way to use the old Identifiers with the Gemlib,... I guess
you had to do something like that:

#define USE_OLD_NAMES
#include <gemlib.h>

Just look into gemlib.h and see how it is done there.

If there is no option to use the old names, you could write an mapping
header like:

#define TOUCHEXIT OS_TOUCHEXIT

-- 
Greets,
m