FreeBSD Bugzilla – Attachment 153251 Details for
Bug 197867
Fix devel/libeio 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 libeio
devel__libeio-fix-noreturn-1.diff (text/plain), 1.11 KB, created by
Dimitry Andric
on 2015-02-20 22:02:28 UTC
(
hide
)
Description:
Fix positioning of _Noreturn attribute for libeio
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2015-02-20 22:02:28 UTC
Size:
1.11 KB
patch
obsolete
>Index: devel/libeio/files/patch-ecb.h >=================================================================== >--- devel/libeio/files/patch-ecb.h (revision 0) >+++ devel/libeio/files/patch-ecb.h (working copy) >@@ -0,0 +1,13 @@ >+--- ecb.h.orig 2012-10-16 22:30:08.000000000 +0200 >++++ ecb.h 2015-02-20 22:58:47.764757000 +0100 >+@@ -472,8 +472,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 */ > >Property changes on: devel/libeio/files/patch-ecb.h >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
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 197867
: 153251