Ticket #1942 (closed bug: fixed)

Opened 11 years ago

Last modified 11 years ago

src/nci/libffi.c: Throws warnings under various make targets

Reported by: jkeenan Owned by: jkeenan
Priority: normal Milestone:
Component: library Version: 2.11.0
Severity: medium Keywords:
Cc: Language:
Patch status: applied Platform:

Description

As reported in  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.

Change History

Changed 11 years ago by nwellnhof

Should be fixed by 193b47f

Changed 11 years ago by jkeenan

  • owner set to jkeenan
  • status changed from new to assigned
  • patch set to applied

nwellnhof++ Thanks, that seems to have done the trick.

Closing ticket.

kid51

Changed 11 years ago by jkeenan

  • status changed from assigned to closed
  • cc plobsing dukeleto removed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.