Changeset a000878c in mainline for kernel/Makefile.build


Ignore:
Timestamp:
2010-02-25T19:11:25Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
958de16
Parents:
a634485
Message:

make sure that all statically allocated strings are declared as "const char *"
and are treated as read-only

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/Makefile.build

    ra634485 ra000878c  
    5656        -finput-charset=UTF-8 -ffreestanding -fno-builtin -nostdlib -nostdinc \
    5757        -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes \
    58         -Werror-implicit-function-declaration -Werror -pipe
     58        -Werror-implicit-function-declaration -Wwrite-strings \
     59        -Werror -pipe
    5960
    6061ICC_CFLAGS = -I$(INCLUDES) -O$(OPTIMIZATION) -imacros ../config.h \
     
    6970        -fexec-charset=UTF-8 -fwide-exec-charset=UTF-32$(ENDIANESS) \
    7071        -finput-charset=UTF-8 -ffreestanding -fno-builtin -nostdlib -nostdinc \
    71         -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes -pipe \
    72         -arch $(CLANG_ARCH)
     72        -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes \
     73        -Werror-implicit-function-declaration -Wwrite-strings \
     74        -pipe -arch $(CLANG_ARCH)
    7375
    7476LFLAGS = -M
Note: See TracChangeset for help on using the changeset viewer.