libtool: possible candidate for attribute 'noreturn'

Yaakov (Cygwin/X) yselkowitz@users.sourceforge.net
Fri Sep 18 02:27:00 GMT 2009


Chuck,

Compiling libcanberra-0.17 (which adds tons of -W flags) with latest 
libtool and gcc-4.3.2-2:

   CCLD   test-canberra.exe
./.libs/lt-test-canberra.c: In function 'lt_fatal':
./.libs/lt-test-canberra.c:582: warning: function might be possible 
candidate for attribute 'noreturn' [-Wmissing-noreturn]

Perhaps someone can explain why only this function, and not others which 
"return" void, trigger this warning.

In any case, while I still don't understand why libtool insists on 
compiling lt-*.c with the same flags as the actual code itself, I'll 
leave this to you to determine if and how this should be fixed.


Yaakov

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list