* src/main.cc: Include <climits> for LONG_MAX. lbtt won't
compile with g++-4.3 otherwise. * src/Ltl-parse.yy (matchCharactersFromStream): Declare the chars as const to kill a g++ warning. * src/NeverClaim-parse.yy (yyerror): Declare the error message as const to kill a g++ warning.
This commit is contained in:
parent
5ef7084b61
commit
ab1a2ae5d7
4 changed files with 38 additions and 28 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2004, 2005
|
||||
* Copyright (C) 2004, 2005, 2008
|
||||
* Heikki Tauriainen <Heikki.Tauriainen@tkk.fi>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
|
|
@ -372,7 +372,7 @@ infix_b_formula: formula LTLPARSE_AND formula
|
|||
*****************************************************************************/
|
||||
|
||||
static inline size_t matchCharactersFromStream
|
||||
(istream& stream, char* chars)
|
||||
(istream& stream, const char* chars)
|
||||
{
|
||||
size_t num_matched;
|
||||
for (num_matched = 0; *chars != '\0' && stream.peek() == *chars; ++chars)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue