pdf-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pdf-devel] add #ifdef __cplusplus support in pdf.h


From: Aleksander Morgado
Subject: Re: [pdf-devel] add #ifdef __cplusplus support in pdf.h
Date: Mon, 06 Apr 2009 09:47:26 +0200
User-agent: Thunderbird 2.0.0.21 (X11/20090318)

> I tried to use the lib in a c++ project but failed because of missing
> #ifdef __cplusplus in the header file pdf.h.
> 
> Pls add
> #ifdef __cplusplus
> extern "C" {
> #endif
> 
> and
> 
> #ifdef __cplusplus
> }
> #endif
> 
> to the headers.
> 
> I did my own but creating a patch (bzr diff -r ancestor:) fails as
> pdf.h is autocreated and not under version control.

The correct way of implementing it, if needed, would be to modify the
pdf.h target in src/Makefile.am, adding more "echo" lines before and
after merging all the per-module headers in a single one.

Cheers,
-Aleksander




reply via email to

[Prev in Thread] Current Thread [Next in Thread]