Ticket #1963 (closed bug: fixed)

Opened 4 years ago

Last modified 4 years ago

src/string/api.c: Throws warnings under two 'make' targets

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

Description

When running either make apilist or make exportlist, I got the following report with respect to src/string/api.c:

src/string/api.c
    Parrot_str_frosrc/string/api.cm_platform_cstring: 
      Returns a pointer, 
        but no PARROT_CAN(NOT)_RETURN_NULL macro found.
    Parrot_str_to_platform_cstring: 
      Returns a pointer, 
        but no PARROT_CAN(NOT)_RETURN_NULL macro found.
2 warnings in 2 funcs in 1 C files

These should be addressed. See TT #1942 for how nwellnhof++ fixed a similar problem in another source code file.

Thank you very much.

kid51

Change History

Changed 4 years ago by nwellnhof

Should be fixed in 4fbf977e5466, NotFound++

Changed 4 years ago by jkeenan

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

Confirmed. Thanks, guys!

kid51

Changed 4 years ago by jkeenan

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