develooper Front page | perl.perl5.porters | Postings from December 2016

Re: [perl #130393] h2xs: Support for _Bool/stdbool.h?

Thread Previous | Thread Next
Dave Mitchell
December 25, 2016 19:20
Re: [perl #130393] h2xs: Support for _Bool/stdbool.h?
Message ID:
On Fri, Dec 23, 2016 at 07:10:27AM -0800, Stefan Tauner wrote:
> I have used h2xs for the first time today to start the creation of a
> Perl package based on a small C library. make failed to build it
> apparently due to the usage of a bool type for a parameter in one of
> the library's exported functions resulting in
> error: ‘arg1’ undeclared (first use in this function)

Can you show us:

1) the command-line your are invoking h2xs with;
2) the relevant declarations(s) from the .h file (or even better,
attach a short stripped down and self-contained .h file that reproduces
the problem);
2) attach the output of 'perl -V' for the perl used to execute h2xs.


The Enterprise's efficient long-range scanners detect a temporal vortex
distortion in good time, allowing it to be safely avoided via a minor
course correction.
    -- Things That Never Happen in "Star Trek" #21

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About