Skip to content
Snippets Groups Projects
Commit dd29d26b authored by Giovanni Bajo's avatar Giovanni Bajo
Browse files

re PR c++/8211 (-Weffc++ warns about copyable classes with func ptr members)

	PR c++/8211
	PR c++/16165
	* class.c (check_field_decls): Improve -Weffc++ warning: do not
	warn for pointers to functions/members, or for classes without
	destructors.

	PR c++/8211
	PR c++/16165
	* g++.dg/warn/effc3.C: New test.

From-SVN: r84338
parent 45dc67b7
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment