]> ruderich.org/simon Gitweb - blhc/blhc.git/blobdiff - t/logs/g++
Add support for versioned gcc version (e.g. gcc-4.6).
[blhc/blhc.git] / t / logs / g++
index 636839a1d1e16fc1875f099d93e765ead324c531..ba4a8f335b670ab31d1c23ee3d86ce19421abf28 100644 (file)
@@ -9,3 +9,10 @@ g++ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-securit
 g++ -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]
 g++ -Wl,-z,defs -o test test-a.o test-b.o test-c.o test-d.o -ltest
+
+g++-4.6 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -c test-a.cpp
+g++-4.6 -g -O2 -fstack-protector -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -c test-b.cpp
+g++-4.6 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -c test-c.cpp
+g++-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]
+g++-4.6 -Wl,-z,defs -o test test-a.o test-b.o test-c.o test-d.o -ltest