[Toybox] new clang build break

enh enh at google.com
Mon Jun 30 05:17:19 PDT 2025


another vote for having a clang build in ci :-)

external/toybox/lib/hash.c:309:21: error: attribute declaration must
precede definition [-Werror,-Wignored-attributes]
  309 | void __attribute__((__weak__)) hash_by_name(int fd, char
*name, char *result)
      |                     ^
external/toybox/lib/hash.c:22:6: note: previous definition is here
   22 | void hash_by_name(int fd, char *name, char *result)
      |      ^
external/toybox/lib/hash.c:309:32: error: redefinition of 'hash_by_name'
  309 | void __attribute__((__weak__)) hash_by_name(int fd, char
*name, char *result)
      |                                ^
external/toybox/lib/hash.c:22:6: note: previous definition is here
   22 | void hash_by_name(int fd, char *name, char *result)
      |      ^
2 errors generated.


More information about the Toybox mailing list