[Zoo-discuss] Zoo compatible with libcgic 2.0.7?

Johan Van de Wauw johan.vandewauw at gmail.com
Mon Sep 19 00:02:49 PDT 2016


On Tue, Sep 6, 2016 at 8:57 AM, Fenoy Gerald <gerald.fenoy at geolabs.fr>
wrote:

> Hello,
> sorry for coming back so late.
>
> In fact I gave the cgic207 a try the day you have sent this message but

Don't worry - I'm busy enough myself


> did not reply after.
>
> The biggest issue seems to come from the fact that cgic207 cannot be used
> from C++ code. Note that it may also come from the fact that I don’t know
> how to use it from C++ code. Nevertheless, it was probably the reason why
> we created our own copy of this library.
>
> For the functions I want to use from the cgic207 library they will need to
> be defined as extern « C » when they are currently only declared as extern.
> I have tried using extern « c » { #include « cgic.h » } but did not solve
> the issue.
>

You can wrap the whole file conditionally, see:
https://github.com/boutell/cgic/pull/5

Kind Regards,
Johan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/zoo-discuss/attachments/20160919/983e34a6/attachment.html>


More information about the Zoo-discuss mailing list