Re: preproc.c compilation error - Mailing list pgsql-hackers

From Rugal Bernstein
Subject Re: preproc.c compilation error
Date
Msg-id CAHoyg30aVffUP69bSKyW0m6k__uEp8WWZOXNMaXgPc46bZKOnQ@mail.gmail.com
Whole thread Raw
In response to Re: preproc.c compilation error  (Michael Meskes <meskes@postgresql.org>)
Responses Re: preproc.c compilation error  (Andres Freund <andres@2ndquadrant.com>)
List pgsql-hackers
Thanks, seems it is because the first time pgc.c and others are generated, but [make distclean] did not clean them, which lead to this problem!
after [rm pgc.c preproc.h preproc.c preproc.y]
it is now successfully compiled without any warning! thank you!

Java Developer; Mysql/Oracle DBA; C/Java/Python/Bash; Vim; Linux; Pianist; Hadoop/Spark/Storm
blog 


On Thu, Jan 9, 2014 at 9:45 PM, Michael Meskes <meskes@postgresql.org> wrote:
You have to rebuild the auto-generated pgc.c, preproc.c and preproc.y or simply
remove them to force a rebuild.

Michael
--
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
Jabber: michael.meskes at gmail dot com
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL

pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: nested hstore patch
Next
From: Andres Freund
Date:
Subject: Re: preproc.c compilation error