Re: warnings from parser? - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: warnings from parser?
Date
Msg-id CAFj8pRAsObwhQnzWy0eScFf_8csFORDXMEcBwTZEPJbTpwuveA@mail.gmail.com
Whole thread Raw
In response to warnings from parser?  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: warnings from parser?  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
List pgsql-hackers


2018-09-10 19:23 GMT+02:00 Pavel Stehule <pavel.stehule@gmail.com>:
Hi

I got new warnings

gram.y: In function ‘base_yyparse’:
gram.y:4507:20: warning: assignment to ‘CollateClause *’ {aka ‘struct CollateClause *’} from incompatible pointer type ‘Node *’ {aka ‘>
      n->collClause = $7;
                    ^
gram.y:4519:20: warning: assignment to ‘CollateClause *’ {aka ‘struct CollateClause *’} from incompatible pointer type ‘Node *’ {aka ‘>
      n->collClause = $10;
                    ^


/usr/bin/bison -Wno-deprecated  -d -o preproc.c preproc.y
preproc.y:4744.2: warning: empty rule for typed nonterminal, and no action [-Wother]
 |  AlterExtensionStmt:
  ^

 

Regards

Pavel

pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: warnings from parser?
Next
From: Andrew Gierth
Date:
Subject: Re: warnings from parser?