This website requires JavaScript.
Explore
Help
Sign in
sanchayanmaity
/
minix
Watch
1
Star
0
Fork
You've already forked minix
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
0491126758
minix
/
share
/
mk
/
minix.gcc.mk
3 lines
95 B
Makefile
Raw
Normal View
History
Unescape
Escape
Makefiles: remove -D__minix for assembly invocations. They seem to be redundant (for gcc+ack+clang) and produce very messy warnings (for clang, due to it already being defined).
2010-09-13 15:36:29 +02:00
AFLAGS
+=
-D__ASSEMBLY__ -D_EM_WSIZE
=
4
Fix a ton of compiler warnings This patch fixes most of current reasons to generate compiler warnings. The changes consist of: - adding missing casts - hiding or unhiding function declarations - including headers where missing - add __UNCONST when assigning a const char * to a char * - adding missing return statements - changing some types from unsigned to signed, as the code seems to want signed ints - converting old-style function definitions to current style (i.e., void func(param1, param2) short param1, param2; {...} to void func (short param1, short param2) {...}) - making the compiler silent about signed vs unsigned comparisons. We have too many of those in the new libc to fix. A number of bugs in the test set were fixed. These bugs were never triggered with our old libc. Consequently, these tests are now forced to link with the new libc or they will generate errors (in particular tests 43 and 55). Most changes in NetBSD libc are limited to moving aroudn "#ifndef __minix" or stuff related to Minix-specific things (code in sys-minix or gen/minix).
2011-11-14 11:07:49 +01:00
CFLAGS
+=
-fno-builtin -Wall -march
=
i586 -Wno-sign-compare
Reference in a new issue
Copy permalink