Re: [AD] Allegro 4.2 doesn't compile under OpenWatcom 1.0

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Evert Glebbeek wrote:

The build docs claim that OpenWatcom 1.0 is supported. First problem
is that it doesn't include either inttypes.h or stdint.h, but the
Allegro include defines the former.

I saw your message on A.CC about gcc 2.95 and an issue with the same file.
Was that resolved already? In any case, the build should not choke on a
missing inttypes.h or stdint.h - if it does, it's a bug we should fix.
I haven't looked at how the availability is determined but if I were to
guess I'd say that it's checked using the configure script in *nix, meaning
the detection is broken in Windows. That's a shot in the dark on my part
though.

It's just a static config (see include/allegro/platform/almngw32.h). I find it strange that inttypes.h is not there, but we can just comment out #define HAVE_INTTYPES_H.

Commenting it out fails to work, because it does not recognize the
#warning command. :P

Hehe. I used to get that too with gcc in a strict mode. It seems the
portable name should be #warn.
?? I don't see anything about #warn in the GNU cpp manual.

Version 1.3 is the most recent, but I don't have it. Is Allegro known
to compile on that?

To my knowledge, no one has tested it.

I did test it when writing the 64-bitness patch, but not since.

Peter




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/