> This is all a bit academic, but anyway:
>
> The difference is in "that is part of a definition" and "that is
> not part of a definition". So:
>
>int main();
>
> declares main as function but not anything about parameters (main has no
> prototype then). While:
>
>int main() { ...;
On 2021-04-19 17:57:04 +0200, Michael Matz wrote:
> On Mon, 19 Apr 2021, Michael Matz wrote:
> > I'm not sure what "this" refers to here, but we basically need to accept
> > any of these forms of decls and defs of main:
> >
> > int main();
> > int main() { ... }
> > void main();
> > void main() {
Hello,
On Mon, 19 Apr 2021, Michael Matz wrote:
I'm not sure what "this" refers to here, but we basically need to accept any
of these forms of decls and defs of main:
int main();
int main() { ... }
void main();
void main() { ... }
Gah! And of course also the ones with void (which does
Hello,
On Sat, 17 Apr 2021, Stefanos wrote:
No particular reason most probably (except in the case when specifically
the standard mandated behaviour of 'int main()' is tested). If you prefer
the void form for new tests use it. (please don't change existing tests
except for good reasons)
Also complex and float functions of different types (float, double, long
double, float _Complex, double _Complex and long double _Complex) are not
supported.
-Original Message-
From: Tinycc-devel [mailto:tinycc-devel-bounces+eligis=orange...@nongnu.org] On
Behalf Of yangrq
Sent:
> * Which features are still missing, for example from C99 and C11?
I did some tests and found the following features in C11 are missing:
* 7.3.9.3 The CMPLX macros
* 6.4.5/3 UTF−8 string literal (prefixed by `u8`)
___
Tinycc-devel mailing list
> * Which features are still missing, for example from C99 and C11?
>
> We do not want bloated tcc, but winapi section needs to include, by
default, the following three much used header files and libraries:
commctrl.h
comdlg.h
mmsystem.h
___