Liste des Groupes | Revenir à cl c |
On 11/06/2024 10:13, Malcolm McLean wrote:>I've finally got Baby X (not the resource compiler, the Windows toolkit) to link X11 on my Mac. And I can start work on it again. But it was far from easyt to get it to link.In src\windows, I tried compiling both main.c and testbed.c (not using any makefiles, just directly applying a compiler).
>
Can friendly people plesse dowload it and see if it compiles on other platforms?
>
They both call a startbabyx() function which is incompatible with the one defined in BabyX.h.
It seems they pass an extra Hinstance first parameter. If I switch from WinMain() to main(), then testbed.c compiles - by itself. (Note that Windows GUI apps don't need WinMain; they work just as well with main.)
I tried another module BBX_Canvas.h. gcc complained about a type mismatch (but it is 14.1 which is stricter).
tcc said it couldn't find windowsx.h.
My mcc had problems with UINT32 which doesn't seem to be defined anywhere that I could see.
Les messages affichés proviennent d'usenet.