X-Git-Url: https://ruderich.org/simon/gitweb/?p=blhc%2Fblhc.git;a=blobdiff_plain;f=t%2Flogs%2Fc%2B%2B;h=107ba1a7fdbc763ceb89dd9d9e83103270fd6bbb;hp=76a9e95ff479df19b60cb7dabce76ad5224a46dc;hb=95c60ae8d466260ccd30db272386dfae2a9623ca;hpb=bd6f8135101bb4cfc511b58d93918a21525f28ee diff --git a/t/logs/c++ b/t/logs/c++ index 76a9e95..107ba1a 100644 --- a/t/logs/c++ +++ b/t/logs/c++ @@ -13,3 +13,10 @@ c++ -Wl,-z,defs -o test test-a.o test-b.o test-c.o test-d.o -ltest rm c++test.h c++\ test.c + +c++-4.6 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -c test-a.cpp +c++-4.6 -g -O2 -fstack-protector -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -c test-b.cpp +c++-4.6 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -c test-c.cpp +c++-4.6 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -c test-d.cc +test-d.cc:47:11: warning: unused variable 'test' [-Wunused-variable] +c++-4.6 -Wl,-z,defs -o test test-a.o test-b.o test-c.o test-d.o -ltest