http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52347
Simon Richter <Simon.Richter at hogyros dot de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Simon.Richter at hogyros dot de --- Comment #2 from Simon Richter <Simon.Richter at hogyros dot de> --- In 4.8, this causes build failures for me: $ g++ -g -Wall -W -Werror -Wno-unused -I. -o stage1/tree_bison_lex.o -c tree_bison_lex.cpp tree_bison_lex.cpp:1744:13: error: unused parameter 'yyscanner' [-Werror=unused-parameter] As can be guessed from the name, this is a file that is generated from flex, which is why I've added -Wno-unused for this file specifically. 4.7 did not warn.