mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
build: work around warnings in Flex 2.5.35
That's the version on Ubuntu Precise.
See also 1dac131ec4.
* src/flex-scanner.h: Disable -Wdocumentation.
* doc/bison.texi: Turn off a warning triggered by Flex 2.6.4.
This commit is contained in:
@@ -11426,8 +11426,8 @@ parser's to get the set of defined tokens.
|
||||
# define yywrap() 1
|
||||
|
||||
// Pacify warnings in yy_init_buffer (observed with Flex 2.6.4)
|
||||
// and GCC 7.3.0.
|
||||
#if defined __GNUC__ && 7 <= __GNUC__
|
||||
// and GCC 6.4.0, 7.3.0.
|
||||
#if defined __GNUC__ && !defined __clang__ && 6 <= __GNUC__
|
||||
# pragma GCC diagnostic ignored "-Wnull-dereference"
|
||||
#endif
|
||||
%@}
|
||||
|
||||
Reference in New Issue
Block a user