[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C parser Can't be Linked to C++ Driver
From: |
Evan Carew |
Subject: |
Re: C parser Can't be Linked to C++ Driver |
Date: |
Mon, 07 Sep 2009 19:59:28 -0400 |
User-agent: |
Mozilla Thunderbird 1.0.8-1.1.fc4 (X11/20060501) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Chris,
Yep, that's it. Sometimes you need someone to dope slap you.
extern "C" {
extern int yyparse( );
}
Evan
Chris verBurg wrote:
>
> In the C++ code, have you tried declaring yyparse as "extern C int
yyparse();" so that it doesn't try to mangle the name?
>
> -Chris
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFKpZ5gpxCQXwV2bJARAuiIAKC53FLXvws0Lt6I+Woo2vVefIx5nACbBxWu
PcdOSnYhpaIK1j50ZdKamok=
=bO/p
-----END PGP SIGNATURE-----