Hi,
Devel-Declare-0.006019 builds and tests fine for me on 5.32.0 (MSWindows), with the following hacks:
1) Replace 0.006019's version of stolen_chunk_of_toke.c with the version that's in 0.006022;
2) Copy ppport.h from 0.006022 across to 0.006019.
Method-Signatures-20170211 then also built and installed cleanly - with some test suite noise about Any::Moose having been deprecated in favour of Moo.
I had to force install Data::Alias, as it failed a couple of tests.
Note that the following warnings did appear during the compilation of Devel-Declare-0.006019:
In file included from Declare.xs:7:
stolen_chunk_of_toke.c:145: warning: "PL_lex_stuff" redefined
#define PL_lex_stuff (PL_parser->lex_stuff)
In file included from stolen_chunk_of_toke.c:20,
from Declare.xs:7:
ppport.h:4928: note: this is the location of the previous definition
# define PL_lex_stuff D_PPP_my_PL_parser_var(lex_stuff)
In file included from Declare.xs:7:
stolen_chunk_of_toke.c:152: warning: "PL_linestr" redefined
#define PL_linestr (PL_parser->linestr)
In file included from stolen_chunk_of_toke.c:20,
from Declare.xs:7:
ppport.h:4924: note: this is the location of the previous definition
# define PL_linestr D_PPP_my_PL_parser_var(linestr)
In file included from Declare.xs:7:
stolen_chunk_of_toke.c:155: warning: "PL_expect" redefined
#define PL_expect (PL_parser->expect)
In file included from stolen_chunk_of_toke.c:20,
from Declare.xs:7:
ppport.h:4920: note: this is the location of the previous definition
# define PL_expect D_PPP_my_PL_parser_var(expect)
In file included from Declare.xs:7:
stolen_chunk_of_toke.c:156: warning: "PL_copline" redefined
#define PL_copline (PL_parser->copline)
In file included from stolen_chunk_of_toke.c:20,
from Declare.xs:7:
ppport.h:4921: note: this is the location of the previous definition
# define PL_copline D_PPP_my_PL_parser_var(copline)
In file included from Declare.xs:7:
stolen_chunk_of_toke.c:157: warning: "PL_bufptr" redefined
#define PL_bufptr (PL_parser->bufptr)
In file included from stolen_chunk_of_toke.c:20,
from Declare.xs:7:
ppport.h:4925: note: this is the location of the previous definition
# define PL_bufptr D_PPP_my_PL_parser_var(bufptr)
In file included from Declare.xs:7:
stolen_chunk_of_toke.c:161: warning: "PL_bufend" redefined
#define PL_bufend (PL_parser->bufend)
In file included from stolen_chunk_of_toke.c:20,
from Declare.xs:7:
ppport.h:4926: note: this is the location of the previous definition
# define PL_bufend D_PPP_my_PL_parser_var(bufend)
In file included from Declare.xs:7:
stolen_chunk_of_toke.c:165: warning: "PL_lex_state" redefined
#define PL_lex_state (PL_parser->lex_state)
In file included from stolen_chunk_of_toke.c:20,
from Declare.xs:7:
ppport.h:4927: note: this is the location of the previous definition
# define PL_lex_state D_PPP_my_PL_parser_var(lex_state)
In file included from Declare.xs:7:
stolen_chunk_of_toke.c:166: warning: "PL_rsfp" redefined
#define PL_rsfp (PL_parser->rsfp)
In file included from stolen_chunk_of_toke.c:20,
from Declare.xs:7:
ppport.h:4922: note: this is the location of the previous definition
# define PL_rsfp D_PPP_my_PL_parser_var(rsfp)
In file included from Declare.xs:7:
stolen_chunk_of_toke.c:167: warning: "PL_rsfp_filters" redefined
#define PL_rsfp_filters (PL_parser->rsfp_filters)
In file included from stolen_chunk_of_toke.c:20,
from Declare.xs:7:
ppport.h:4923: note: this is the location of the previous definition
# define PL_rsfp_filters D_PPP_my_PL_parser_var(rsfp_filters)
In file included from Declare.xs:7:
stolen_chunk_of_toke.c:168: warning: "PL_in_my" redefined
#define PL_in_my (PL_parser->in_my)
In file included from stolen_chunk_of_toke.c:20,
from Declare.xs:7:
ppport.h:4930: note: this is the location of the previous definition
# define PL_in_my D_PPP_my_PL_parser_var(in_my)
In file included from Declare.xs:7:
stolen_chunk_of_toke.c:169: warning: "PL_in_my_stash" redefined
#define PL_in_my_stash (PL_parser->in_my_stash)
In file included from stolen_chunk_of_toke.c:20,
from Declare.xs:7:
ppport.h:4931: note: this is the location of the previous definition
# define PL_in_my_stash D_PPP_my_PL_parser_var(in_my_stash)
In file included from Declare.xs:7:
stolen_chunk_of_toke.c:170: warning: "PL_tokenbuf" redefined
#define PL_tokenbuf (PL_parser->tokenbuf)
In file included from stolen_chunk_of_toke.c:20,
from Declare.xs:7:
ppport.h:4929: note: this is the location of the previous definition
# define PL_tokenbuf D_PPP_my_PL_parser_var(tokenbuf)
In file included from Declare.xs:7:
stolen_chunk_of_toke.c:172: warning: "PL_error_count" redefined
#define PL_error_count (PL_parser->error_count)
In file included from stolen_chunk_of_toke.c:20,
from Declare.xs:7:
ppport.h:4932: note: this is the location of the previous definition
# define PL_error_count D_PPP_my_PL_parser_var(error_count)
In file included from Declare.xs:7:
stolen_chunk_of_toke.c:228:1: warning: 'Perl_filter_read' redeclared w
+ithout dll
import attribute: previous dllimport ignored [-Wattributes]
Perl_filter_read(pTHX_ int idx, SV *buf_sv, int maxlen)
^~~~~~~~~~~~~~~~
Cheers,
Rob
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.