This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

libtool: possible candidate for attribute 'noreturn'


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]