Commit 71c4681d by Richard Stallman

*** empty log message ***

From-SVN: r1140
parent a2ff7f8c
......@@ -5838,7 +5838,10 @@ do_pragma (buf, limit)
while (*buf == ' ' || *buf == '\t')
buf++;
if (!strncmp (buf, "once", 4)) {
warning ("`#pragma once' is obsolete");
/* Allow #pragma once in system headers, since that's not the user's
fault. */
if (!instack[indepth].system_header_p)
warning ("`#pragma once' is obsolete");
do_once ();
}
return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment