The Emacs trunk, and CEDET/CVS both have a fix that will skip save
errors quietly. Can you try one of those? You can probably just pull
semantic-lex-spp.el from either repository and replace the one in your
install to fix the problem. Though I think it's called something else
in the Emacs repository, like semantic/lex-spp.el.
I tried your example, and it worked fine for me.
On 06/15/2010 05:23 AM, "Hendrik Kühne" wrote:
> As stated in the subject I have problems using Semantic with Boost.
> I was not able to reduce the problem to a smaller working example. Therefore I have attached a complete header file.
> After parsing it with semantic-lex-spp-describe saving the Semantic cache reports the following errors:
> Error Writing Table: #<semanticdb-table float_functions.hpp>
> Save Error: "\"Error in macro \\\"c99_func\\\"\"":<path to cache file>
> This error is not limited to Boost header files, I have observed it with Qt headers too.
> It seems for me Semantic is not able to parse correctly complex macros.
> Is it possible to provide a solution for this problem ?
> I am using Emacs 23.2 with integrated CEDET/Semantic. CEDET 1.0pre7 reports this error too.