Changes between Initial Version and Version 1 of Ticket #61753


Ignore:
Timestamp:
Dec 5, 2020, 8:05:07 PM (3 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Yup, the well-known implicit function declaration problem we see with tons of ports as of Xcode 12. Needs to be fixed by including the right headers.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #61753

    • Property Priority changed from High to Normal
    • Property Keywords catalina bigsur added; libast Eterm removed
    • Property Summary changed from Eterm installation on BigSur failing on libast to libast: error: implicitly declaring library function 'strlen'
  • Ticket #61753 – Description

    initial v1  
    44Looks like some compiler problems:
    55
     6{{{
    67:info:build snprintf.c:45:22: error: unknown type name 'size_t'
    78               
     
    1011:info:build         
    1112            ^                                             
    12 :info:build snprintf.c:53:13: error: implicitly declaring library function 'str\
    13 len' with type 'unsigned long (const char *)' [-Werror,-Wimplicit-function-decl\
    14 aration]                                                                       
     13:info:build snprintf.c:53:13: error: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Werror,-Wimplicit-function-declaration]                                                                       
    1514:info:build     return (strlen(str));                                           
    1615:info:build             ^                                                       
    17 :info:build snprintf.c:53:13: note: include the header <string.h> or explicitly\
    18  provide a declaration for 'strlen'                                             
     16:info:build snprintf.c:53:13: note: include the header <string.h> or explicitly provide a declaration for 'strlen'                                             
    1917:info:build snprintf.c:58:21: error: unknown type name 'size_t'                 
    2018:info:build snprintf(char *str, size_t count, const char *fmt, ...)             
    2119:info:build                     ^                                               
     20}}}
    2221
    23 Thanks in advance for your help.
     22Thanks in advance for your help.\\
    2423Rob (U of Utah)