Re: [AD] trying to make allegro compatible with MFC

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


> Quite right. The NO_STRICT define is required for programs that both use
the
> 'magic main' emulation and include the windows.h header file, because the
> 'main' emulation is not correctly prototyped.
>
> So we have three options:
> - staying with NO_STRICT at the expense of a few problems with programs
that
> mix Allegro and the Win32 API,
> - removing NO_STRICT and modifying the 'main' emulation,
> - removing NO_STRICT and simply requiring that programs which include
> winalleg.h don't use the 'main' emulation.

maybe modyfing the main emulation is the best option?

> Meanwhile, are you ok with the attached winalleg.h file ?

Yes, I'm totally agree with it



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