This is the mail archive of the
mailing list for the Cygwin project.
libtool: possible candidate for attribute 'noreturn'
- From: "Yaakov (Cygwin/X)" <yselkowitz at users dot sourceforge dot net>
- To: cygwin at cygwin dot com
- Date: Thu, 17 Sep 2009 21:27:36 -0500
- Subject: libtool: possible candidate for attribute 'noreturn'
Compiling libcanberra-0.17 (which adds tons of -W flags) with latest
libtool and gcc-4.3.2-2:
./.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.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple