Re: Libprelude with C++
Yoann Vandoorselaere <[email protected]>
| Newsgroups | gmane.comp.security.ids.prelude.user |
|---|---|
| Message-ID | <1203694095.5965.121.camel@arwen> |
Le vendredi 22 février 2008 à 16:18 +0100, Reinhard Fellner a écrit :
> Yoann Vandoorselaere schrieb:
>
> > You shouldn't have to since libprelude headers already does that. Could
> > you show me the original include primitive you used, without extern "C",
> > and which failed?
>
> The Code is nearly the same as the HowTo which also doesen't work with
> the g++ compiler( https://trac.prelude-ids.org/wiki/DevelPooling)
>
> #include <libprelude/prelude.h>
> #include <libprelude/prelude-message-id.h>
> #include <libprelude/idmef-message-print.h>
>
> The error is caused by this include: #include <libprelude/prelude.h>
I am not able to reproduce the problem here, the following example
compile without problem using g++:
#include <libprelude/prelude.h>
int main(void){ idmef_message_read(NULL, NULL); }
Could you provide a proof of concept example that fail to compile?
Additionally, what libprelude version are you using?
Regards,
--
Yoann Vandoorselaere | Responsable R&D / CTO | PreludeIDS Technologies
Tel: +33 (0)8 70 70 21 58 Fax: +33(0)4 78 42 21 58
http://www.prelude-ids.com
_______________________________________________
Prelude-user site list
[email protected]
http://www.prelude-ids.org/mailman/listinfo/prelude-user