tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

clang build of libc on netbsd-6 fails



Hello,

   Sync'd earlier today, and building yields:

   /usr/src/lib/libc/thread-stub/thread-stub.c:415:1: error: function
'__libc_thr_exit_stub' could be declared with attribute
      'noreturn' [-Werror,-Wmissing-noreturn]

   Adding "__dead" attribute/macro to function makes clang happy.

-- 
Kind regards,
Jan Danielsson



Home | Main Index | Thread Index | Old Index