On Sat, Dec 19, 2015 at 03:39:00PM +0100, gregor herrmann wrote:

> > /usr/bin/swig -c++ -I../bindings -I../bindings/c++/include -I../src/include 
> > -I../src/libprelude-error -perl5 -o perl/PreludeEasy.cxx libpreludecpp.i
> > perl/libpreludecpp-perl.i:1: Error: Unknown SWIG preprocessor directive: 
> > Exception (if this is a block of target language code, delimit it with %{ 
> > and %})

> The attached patch fixes these errors;

The patch looks good to me FWIW (but I don't really claim to know anything
about libprelude or swig :)

This seems to be fallout from 
 https://github.com/swig/swig/issues/217
and the #-comment lines were always ignored as unknown preprocessor
directives.

> now some warnings are left:

> ../bindings/c++/include/prelude-error.hxx:37: Warning 401: Nothing known 
> about base class 'std::exception'. Ignored.
> ../bindings/c++/include/prelude-error.hxx:48: Warning 503: Can't wrap 
> 'operator const char*' unless renamed to a valid identifier.
> ../bindings/c++/include/idmef.hxx:15: Warning 503: Can't wrap 'operator >>' 
> unless renamed to a valid identifier.

> In file included from PreludeEasy.cxx:1637:0:
> ../../config.h:1564:0: warning: "VERSION" redefined
>  #define VERSION "1.0.0"
>  ^
> <command-line>:0:0: note: this is the location of the previous definition

All these were in the old build logs too, so at least they aren't
regressions.
-- 
Niko Tyni   nt...@debian.org

Reply via email to