OSDN Git Service

cdefs.h: add artificial attribute to FORTIFY_SOURCE functions
authorNick Kralevich <nnk@google.com>
Mon, 6 Oct 2014 21:49:00 +0000 (14:49 -0700)
committerNick Kralevich <nnk@google.com>
Mon, 6 Oct 2014 22:11:52 +0000 (15:11 -0700)
commit1aaa17802c92d99ae170245c2b2f15a6c27b133e
tree5fcea1080b4397a99c2205ba8f094738341219e7
parent6d569b92012543a297dccf2dfeaa648d07b3c133
cdefs.h: add artificial attribute to FORTIFY_SOURCE functions

Otherwise the gcc compiler warning doesn't show up.

Add -Wno-error to fortify related tests. Fortify related tests
are expected to be examples of bad programs, and in many
cases shouldn't compile cleanly. Rewriting them to compile
cleanly isn't feasible nor desirable.

Bug: 17784968
Change-Id: I93bececa7444d965f18c7c27d46e7abce5c49a02
libc/include/sys/cdefs.h
tests/Android.mk