Re: tcc - first impression. Was: Baby X is bor nagain

Liste des GroupesRevenir à cl c  
Sujet : Re: tcc - first impression. Was: Baby X is bor nagain
De : malcolm.arthur.mclean (at) *nospam* gmail.com (Malcolm McLean)
Groupes : comp.lang.c
Date : 02. Jul 2024, 10:35:26
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v60hku$1j1qq$2@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
User-Agent : Mozilla Thunderbird
On 01/07/2024 22:48, Keith Thompson wrote:
Michael S <already5chosen@yahoo.com> writes:
[...]
I tried tcc too.
>
1. It is easy to download. It does not need installation apart from
unzip.
 So you're on Windows.
 [...]
 
4. In this particular project I encountered few inconvenient
incompatibilities:
4.1. no support for %zd and %zu. May be, Linux version is better in that
regard?
 %zd and %zu are supported by the runtime library, not by the compiler.
It's likely that tcc is configured to use something like msvcrt.dll,
which typically doesn't support C99 features.
 
But that's what you get if you use size_t. Code breaks.
Baby X doesn't expose any size_ts in its API, so code written for Baby X should work fine under tcc. Code written for other toolkits will fail if at any time you format a size_t for user display.
I'm thinking of adding bbx_strlen() to get rid of the irritating warning when Baby X programmer call strlen() on a string of a few characters. In Baby X it's haed to create a string whee the warning makes sense, because bbx_malloc() won't return more than INT_MAX bytes.
--
Check out my hobby project.
http://malcolmmclean.github.io/babyxrc

Date Sujet#  Auteur
1 Jul 24 * tcc - first impression. Was: Baby X is bor nagain22Michael S
1 Jul 24 +- Re: tcc - first impression. Was: Baby X is bor nagain1Tim Rentsch
1 Jul 24 +* Re: tcc - first impression. Was: Baby X is bor nagain13Keith Thompson
1 Jul 24 i+- Re: tcc - first impression. Was: Baby X is bor nagain1Keith Thompson
2 Jul 24 i+* Re: tcc - first impression. Was: Baby X is bor nagain9Michael S
2 Jul 24 ii+* Re: tcc - first impression. Was: Baby X is bor nagain6bart
2 Jul 24 iii+* Re: tcc - first impression. Was: Baby X is bor nagain4Michael S
2 Jul 24 iiii+* Re: tcc - first impression. Was: Baby X is bor nagain2bart
2 Jul 24 iiiii`- Re: tcc - first impression. Was: Baby X is bor nagain1Michael S
3 Jul 24 iiii`- Re: tcc - first impression. Was: Baby X is bor nagain1Michael S
2 Jul 24 iii`- Re: tcc - first impression. Was: Baby X is bor nagain1Tim Rentsch
2 Jul 24 ii+- Re: tcc - first impression. Was: Baby X is bor nagain1Tim Rentsch
2 Jul 24 ii`- Re: tcc - first impression. Was: Baby X is bor nagain1James Kuyper
2 Jul 24 i`* Re: tcc - first impression. Was: Baby X is bor nagain2Malcolm McLean
2 Jul 24 i `- Re: tcc - first impression. Was: Baby X is bor nagain1Ben Bacarisse
2 Jul 24 +* Re: tcc - first impression. Was: Baby X is bor nagain6Michael S
2 Jul 24 i+* Re: tcc - first impression. Was: Baby X is bor nagain4Ben Bacarisse
2 Jul 24 ii`* Re: tcc - first impression. Was: Baby X is bor nagain3Michael S
2 Jul 24 ii `* Re: tcc - first impression. Was: Baby X is bor nagain2Ben Bacarisse
2 Jul 24 ii  `- Re: tcc - first impression. Was: Baby X is bor nagain1Michael S
3 Jul 24 i`- Re: tcc - first impression. Was: Baby X is bor nagain1Michael S
3 Jul 24 `- Re: tcc - first impression. Was: Baby X is bor nagain1Michael S

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal