cpplib.h (cpp_options): Use signed char.

* include/cpplib.h (cpp_options): Use signed char.
	* lex.c (_cpp_lex_direct): Don't warn in C++ mode.

From-SVN: r214210
This commit is contained in:
Marek Polacek
2014-08-20 04:12:58 +00:00
committed by Marek Polacek
parent 8714cbc5c7
commit dd3ff077ef
3 changed files with 7 additions and 1 deletions
+1
View File
@@ -2338,6 +2338,7 @@ _cpp_lex_direct (cpp_reader *pfile)
}
/* Or if specifically desired via -Wc90-c99-compat. */
else if (CPP_OPTION (pfile, cpp_warn_c90_c99_compat) > 0
&& ! CPP_OPTION (pfile, cplusplus)
&& ! buffer->warned_cplusplus_comments)
{
cpp_error (pfile, CPP_DL_WARNING,