From: | Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk> |
---|---|
To: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
Cc: | PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: warnings from parser? |
Date: | 2018-09-10 17:38:20 |
Message-ID: | 87muspqmsv.fsf@news-spur.riddles.org.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
>>>>> "Pavel" == Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> writes:
>> 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;
>> ^
That's not the text that appears on those lines of gram.y in current git
master. What are you trying to compile?
Pavel> /usr/bin/bison -Wno-deprecated -d -o preproc.c preproc.y
Pavel> preproc.y:4744.2: warning: empty rule for typed nonterminal, and no action
preproc.y is a generated file, created from gram.y and other files by a
perl script.
So I'm guessing you're using a modified gram.y and everything else is
fallout from an error there.
--
Andrew (irc:RhodiumToad)
From | Date | Subject | |
---|---|---|---|
Next Message | Pavel Stehule | 2018-09-10 17:39:31 | Re: warnings from parser? |
Previous Message | Pavel Stehule | 2018-09-10 17:25:11 | Re: warnings from parser? |