Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/share/mk



Module Name:    src
Committed By:   rin
Date:           Thu Aug  3 13:33:27 UTC 2023

Modified Files:
        src/share/mk: bsd.own.mk

Log Message:
bsd.own.mk: Introduce CC_WNO_USE_AFTER_FREE for GCC12

-Wuse-after-free for GCC 12 is premature. It fires on a common idiom:

        newbuf = realloc(buf, size);
        p = newbuf + (p - buf);

Let shut this up for GCC 12 (with hoping it gets improved for 13!).


To generate a diff of this commit:
cvs rdiff -u -r1.1347 -r1.1348 src/share/mk/bsd.own.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index