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

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

Thread Previous | Thread Next
From:
Dave Mitchell
Date:
December 25, 2016 19:20
Subject:
Re: [perl #130393] h2xs: Support for _Bool/stdbool.h?
Message ID:
20161225192007.GC3096@iabyn.com
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.

Thanks.

-- 
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


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About