summaryrefslogtreecommitdiff
path: root/sys/src/cmd/1c
AgeCommit message (Collapse)Author
2021-06-26kencc: revert back to "set but not used"cinap_lenrek
The change to "assignment not used" breaks symmetry with "used and not set" and removes the reference to the specific warning mentioned in /sys/doc/comp.ms. Also, the patch was half-assed as that it left some typos in like "used an not set", which this change also fixed.
2021-06-21kencc: clarify warning for unused assignmentsNoam Preil
2020-04-19?c: get rid of sprint(), strcpy() and strcat()/strncat(), cleanupcinap_lenrek
2020-04-19?c: fix Bconv() misusage of strncat()cinap_lenrek
2020-04-11cc, ?[acl]: fix gethunk() and move common memory allocator code to cc/compatcinap_lenrek
for gethunk() to work, all allocators have to use it, including allocations done by libc thru malloc(), so the fake allocation functions are mandatory for everyone. to avoid duplication the code is moved to cc/compat and prototypes provided in new cc/compat.h header.
2019-06-19cc: remove nullwarn() from OCAST codegen, zap void castscinap_lenrek
implicit casts would cause spurious "result of operation not used" warnings such as ape's stdio putc() macro. make (void) casts non-ops when the casted expression has no side effects. this avoid spurious warning with ape's assert() macro.
2018-05-24cc: fix result of operation not used warning for void castsspew
2016-06-09?c: track ../cc/cc.h dependency and rebuild cc.a$O as neccesarycinap_lenrek
2015-08-021c,2c,7c,kc,vc: honor suppress condition for outstring() in swt.ccinap_lenrek
2015-02-17[125678kqv][cl]: fix sprint() and strcpy() buffer overflowscinap_lenrek
2012-12-31fix utf and rune handling in preparation for 32bit runescinap_lenrek
2012-07-30import updated compilers from sourcescinap_lenrek
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen