FreeBSD Bugzilla – Attachment 153246 Details for
Bug 197864
Fix devel/libev build with clang 3.6.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix positioning of _Noreturn attribute for libev
devel__libev-fix-noreturn-1.diff (text/plain), 911 bytes, created by
Dimitry Andric
on 2015-02-20 21:30:41 UTC
(
hide
)
Description:
Fix positioning of _Noreturn attribute for libev
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2015-02-20 21:30:41 UTC
Size:
911 bytes
patch
obsolete
>Index: devel/libev/files/patch-ev.c >=================================================================== >--- devel/libev/files/patch-ev.c (revision 379421) >+++ devel/libev/files/patch-ev.c (working copy) >@@ -1,6 +1,17 @@ > --- ./ev.c.orig 2011-02-09 00:17:37.000000000 +0100 > +++ ./ev.c 2011-08-19 17:01:35.000000000 +0200 >-@@ -1591,10 +1591,12 @@ >+@@ -967,8 +967,8 @@ >+ #define ecb_unreachable() __builtin_unreachable () >+ #else >+ /* this seems to work fine, but gcc always emits a warning for it :/ */ >+- ecb_inline void ecb_unreachable (void) ecb_noreturn; >+- ecb_inline void ecb_unreachable (void) { } >++ ecb_inline ecb_noreturn void ecb_unreachable (void); >++ ecb_inline ecb_noreturn void ecb_unreachable (void) { } >+ #endif >+ >+ /* try to tell the compiler that some condition is definitely true */ >+@@ -2443,10 +2443,12 @@ > unsigned int flags = ev_supported_backends (); > > #ifndef __NetBSD__
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 197864
: 153246