#1942: src/nci/libffi.c: Throws warnings under various make targets
---------------------+------------------------------------------------------
Reporter: jkeenan | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: library | Version: 2.11.0
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
---------------------+------------------------------------------------------
As reported in [http://trac.parrot.org/parrot/ticket/1922#comment:15 TT
1922], ''src/nci/libffi.c'' throws warnings in each of 3 different `make`
targets: `apilist`, `exportlist` and `malloclist`. These targets are all
ultimately wrappers around the headerizer. The warnings are the same in
each target:
{{{
src/nci/libffi.c
build_ffi_thunk: Returns a pointer,
but no PARROT_CAN(NOT)_RETURN_NULL macro found.
clone_ffi_thunk: Returns a pointer,
but no PARROT_CAN(NOT)_RETURN_NULL macro found.
init_thunk_pmc: Returns a pointer,
but no PARROT_CAN(NOT)_RETURN_NULL macro found.
nci_to_ffi_type: Returns asrc/nci/libffi.c pointer,
but no PARROT_CAN(NOT)_RETURN_NULL macro found.
4 warnings in 4 funcs in 1 C files
}}}
These should be addressed.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1942>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets