On Wed, Oct 17, 2012 at 11:00:49AM -0700, Chuan-kai Lin wrote:
> Hi,
> 
> I am forwarding this bug report by Bill Allombert from the Debian bug
> tracking system (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=689700).
> Here is Bill's report:

Dear bison developers,
I realise my report was incomplete. Please find a test case in attachment.

bison 2.4.1:

bison -d parse.y
gcc -c parse.tab.c -o parse.tab.o
g++ proj.c parse.tab.o -o proj

bison 2.6.2:

bison -d parse.y
gcc -c parse.tab.c -o parse.tab.o
g++ proj.c parse.tab.o -o proj
In file included from proj.c:1:0:
parse.tab.h:62:5: error: previous declaration of ‘int yyparse()’ with ‘C++’ 
linkage
In file included from proj.c:2:0:
proj.h:4:18: error: conflicts with new declaration with ‘C’ linkage
make: *** [all] Erreur 1

Cheers,
-- 
Bill. <ballo...@debian.org>

Imagine a large red swirl here. 

Attachment: proj.tgz
Description: GNU Unix tar archive

Reply via email to