Patch to enable correct compilation in C++ compiler (Symbol.h - missing "}" )

10 views
Skip to first unread message

Samuel Bayliss

unread,
Jul 19, 2012, 8:16:43 PM7/19/12
to clan-dev...@googlegroups.com
Dear Cedric 

Just installed version 0.7.1 from your website, the header file symbol.h is missing a macro to close the extern "C" definition - compilation against the library therefore fails in a C++ compiler. Here's a patch to fix this. 

Many thanks for your new version. 

Sam Bayliss
Imperial College London

97a98,101
> # if defined(__cplusplus)
> }
> # endif

Cédric Bastoul

unread,
Jul 20, 2012, 4:20:14 AM7/20/12
to clan-dev...@googlegroups.com, samuel....@gmail.com
Hi Sam,
thank you very much, I pushed your patch to the repository http://repo.or.cz/w/clan.git 
A question: are you using / do you plan to use in short term the OpenScop output or the previous ScopLib output through -outscoplib ? Best,

Cedric
Reply all
Reply to author
Forward
0 new messages