#1987: Warnings from make headerizer
--------------------+-------------------------------------------------------
Reporter: mikehh | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: none | Version: 3.0.0
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
--------------------+-------------------------------------------------------
After running make headerizer I get the following warnings:
{{{
...
Headerization complete.
src/exceptions.c
Parrot_ex_build_complete_backtrace_string: Returns a pointer, but no
PARROT_CAN(NOT)_RETURN_NULL macro found.
Parrot_ex_build_complete_backtrace_string: Returns a pointer, but no
PARROT_CAN(NOT)_RETURN_NULL macro found.
src/packfile/api.c
Parrot_pf_create_default_segments: "ARGMOD(PackFile * const pf)" is
const, but that ARGMOD conflicts with const
Parrot_pf_get_current_code_segment: Returns a pointer, but no
PARROT_CAN(NOT)_RETURN_NULL macro found.
Parrot_pf_get_current_code_segment: Returns a pointer, but no
PARROT_CAN(NOT)_RETURN_NULL macro found.
Parrot_pf_get_current_packfile: Returns a pointer, but no
PARROT_CAN(NOT)_RETURN_NULL macro found.
Parrot_pf_get_current_packfile: Returns a pointer, but no
PARROT_CAN(NOT)_RETURN_NULL macro found.
src/packfile/output.c
update_backref_hash: "PackFile_ConstTable *ct" isn't protected with an
ARGIN, ARGOUT or ARGMOD (or a _NULLOK variant), or ARGFREE
update_backref_hash: "Hash *seen" isn't protected with an ARGIN,
ARGOUT or ARGMOD (or a _NULLOK variant), or ARGFREE
src/pmc/imageiofreeze.pmc
check_seen: "PMC *self" isn't protected with an ARGIN, ARGOUT or
ARGMOD (or a _NULLOK variant), or ARGFREE
check_seen: "PMC *v" isn't protected with an ARGIN, ARGOUT or ARGMOD
(or a _NULLOK variant), or ARGFREE
src/pmc/imageiosize.pmc
check_seen: "PMC *self" isn't protected with an ARGIN, ARGOUT or
ARGMOD (or a _NULLOK variant), or ARGFREE
check_seen: "PMC *v" isn't protected with an ARGIN, ARGOUT or ARGMOD
(or a _NULLOK variant), or ARGFREE
13 warnings in 7 funcs in 5 C files
mhu@mhu-desktop:~/parrot$ date
Sun Jan 23 11:59:20 GMT 2011
}}}
It would be great if we could clear these up before the next release
Cheers Michael (mikehh)
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1987>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets