Deutsch   English   Français   Italiano  
<v49hna$124bi$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: bart <bc@freeuk.com>
Newsgroups: comp.lang.c
Subject: Re: Baby X is bor nagain
Date: Tue, 11 Jun 2024 13:59:23 +0100
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <v49hna$124bi$1@dont-email.me>
References: <v494f9$von8$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 11 Jun 2024 14:59:23 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="88742f5eb613ac2c5fda4e8fbeef6441";
	logging-data="1118578"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+rNxoncFBCFhqlrLDMoOwP"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:VjIHjFTe+hOoyfAof79gNIsaZgs=
In-Reply-To: <v494f9$von8$1@dont-email.me>
Content-Language: en-GB
Bytes: 1972

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.
> 
> Can friendly people plesse dowload it and see if it compiles on other 
> platforms?
> 


In src\windows, I tried compiling both main.c and testbed.c (not using 
any makefiles, just directly applying a compiler).

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.