Skip to content
Snippets Groups Projects
Commit 0382aaa0 authored by Marek Polacek's avatar Marek Polacek Committed by Marek Polacek
Browse files

re PR c/59717 (better warning when using functions without including appropriate header files)

	PR c/59717
	* c-decl.c (header_for_builtin_fn): New function.
	(implicitly_declare): Suggest which header to include.

	* gcc.dg/pr59717.c: New test.

From-SVN: r215979
parent 12e99c38
No related branches found
No related tags found
No related merge requests found
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