src/extend.c: patch to clear up headerizer warnings
James E Keenan
jkeen at verizon.net
Tue Oct 11 00:54:12 UTC 2011
Running 'make headerizer' in master earlier this evening, I got this
message at the end of the run:
src/extend.c
Parrot_ext_try: "void *))" isn't protected with an ARGIN, ARGOUT or
ARGMOD (or a _NULLOK variant), or ARGFREE
Parrot_ext_try: "PMC *" isn't protected with an ARGIN, ARGOUT or
ARGMOD (or a _NULLOK variant), or ARGFREE
Parrot_ext_try: "void *))" isn't protected with an ARGIN, ARGOUT or
ARGMOD (or a _NULLOK variant), or ARGFREE
3 warnings in 1 funcs in 1 C files
The patch attached wraps these 3 instances in ARGIN_NULLOK. Re-running
'make headerizer' updates the corresponding header file and enables
'make test' (see:
http://smolder.parrot.org/app/projects/report_details/23782) and 'make
codetest' to pass once again.
I haven't applied the patch because I can't be 100% certain that
ARGIN_NULLOK is the correct wrapper here. If it is, you can simply
apply the patch (or let me know to do it).
Thank you very much.
Jim Keenan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: src_extend.diff
Type: text/x-patch
Size: 1256 bytes
Desc: not available
URL: <http://lists.parrot.org/pipermail/parrot-dev/attachments/20111010/5ebe65d0/attachment.bin>
More information about the parrot-dev
mailing list