Ping (c,c++): Handling of main() function for freestanding
Arsen Arsenović
arsen@aarsen.me
Fri Oct 21 10:33:01 GMT 2022
Ping on this patch.
https://gcc.gnu.org/pipermail/gcc-patches/2022-October/603574.html
For context, see the rest of this thread. TL;DR is that `int main'
should implicitly return 0 on freestanding, without the other burdens of
main (hosted should remain unchanged, as well as non-int `main's). This
applies to both the C and C++ frontends.
--
Arsen Arsenović
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 358 bytes
Desc: This is a digitally signed message part.
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20221021/c7c78bae/attachment.sig>
More information about the Gcc
mailing list