mirror of
https://github.com/mirror/tinycc.git
synced 2024-12-28 04:00:06 +08:00
8b69059f66
- tcc.h: msvc doesn't grok __func__ (reverts previous commit) - tccgen.c: fortify tcc against bogus code: - n[sizeof({3;})]; // statement expression outside of function - f(){"123"4}; // tokens with values following each other (also, add "type defaults to int" warning for variables) - tccpe.c: removed a check that caused BSS symbols not to be exported. Whatever that check was meant to prevent. - win32/build-tcc.bat: cmd.exe sometimes doesn't grok '-' in labels - Revert "libtcc: no need to undef" This reverts commit2b7aa2a1e1
. - Revert "tcc.h libtcc.c: remove unused defines" This reverts commit985d963745
. The point of these "unused defines" is to be unused, that is to remind people not to use malloc but please to "use_tcc_malloc", instead.
3 lines
55 B
Plaintext
3 lines
55 B
Plaintext
102_alignas.c:4: warning: type defaults to int
|
|
1 1 1 1
|