Changeset View
Changeset View
Standalone View
Standalone View
lib/libc/stdlib/Makefile.inc
Show All 12 Lines | MISRCS+=C99_Exit.c a64l.c abort.c abs.c atexit.c atof.c atoi.c atol.c atoll.c \ | ||||
insque.c l64a.c labs.c ldiv.c llabs.c lldiv.c lsearch.c \ | insque.c l64a.c labs.c ldiv.c llabs.c lldiv.c lsearch.c \ | ||||
merge.c mergesort_b.c ptsname.c qsort.c qsort_r.c qsort_s.c \ | merge.c mergesort_b.c ptsname.c qsort.c qsort_r.c qsort_s.c \ | ||||
quick_exit.c radixsort.c rand.c \ | quick_exit.c radixsort.c rand.c \ | ||||
random.c reallocarray.c reallocf.c realpath.c remque.c \ | random.c reallocarray.c reallocf.c realpath.c remque.c \ | ||||
set_constraint_handler_s.c strfmon.c strtoimax.c \ | set_constraint_handler_s.c strfmon.c strtoimax.c \ | ||||
strtol.c strtold.c strtoll.c strtoq.c strtoul.c strtonum.c strtoull.c \ | strtol.c strtold.c strtoll.c strtoq.c strtoul.c strtonum.c strtoull.c \ | ||||
strtoumax.c strtouq.c system.c tdelete.c tfind.c tsearch.c twalk.c | strtoumax.c strtouq.c system.c tdelete.c tfind.c tsearch.c twalk.c | ||||
CFLAGS.qsort.c+= -Wsign-compare | |||||
arichardson: Could we add this to all C files in this directory or are we not ready for that?
Unrelated… | |||||
Done Inline Actions
lib/libc/gen/getgrent.c:1146:28: error: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Werror,-Wsign-compare] (unsigned long)gid) >= bufsize) ~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~ Looks like no.
I don't. cem: > Could we add this to all C files in this directory or are we not ready for that?
```… | |||||
# Work around an issue on case-insensitive file systems. | # Work around an issue on case-insensitive file systems. | ||||
# libc has both _Exit.c and _exit.s and they both yield | # libc has both _Exit.c and _exit.s and they both yield | ||||
# _exit.o (case insensitively speaking). | # _exit.o (case insensitively speaking). | ||||
CLEANFILES+=C99_Exit.c | CLEANFILES+=C99_Exit.c | ||||
C99_Exit.c: ${LIBC_SRCTOP}/stdlib/_Exit.c .NOMETA | C99_Exit.c: ${LIBC_SRCTOP}/stdlib/_Exit.c .NOMETA | ||||
ln -sf ${.ALLSRC} ${.TARGET} | ln -sf ${.ALLSRC} ${.TARGET} | ||||
SYM_MAPS+= ${LIBC_SRCTOP}/stdlib/Symbol.map | SYM_MAPS+= ${LIBC_SRCTOP}/stdlib/Symbol.map | ||||
Show All 38 Lines |
Could we add this to all C files in this directory or are we not ready for that?
Unrelated, but do you know how close we are to bring able to increasing WARNS for libc?