bug-grep
[Top][All Lists]
Advanced

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

compilation warning


From: Eric Blake
Subject: compilation warning
Date: Sat, 06 Feb 2010 14:02:19 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666

The build failed for me after ./configure --enable-gcc-warnings, when pcre
development files are not available:

search.c: In function 'Pexecute':
search.c:729: error: function might be possible candidate for attribute
'noreturn' [-Wmissing-noreturn]

Rather than declaring to always fail and Pexecute to just abort(), maybe
it would make more sense to omit their declarations altogether in that
instance, and not even expose the command line option?  Or is that too
drastic, and we should come up with some other alternative?

-- 
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]