FreeBSD Bugzilla – Attachment 153649 Details for
Bug 198140
Fix devel/pecl-eio 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__pecl-eio-fix-libeio-noreturn-1.diff (text/plain), 1.25 KB, created by
Dimitry Andric
on 2015-03-01 21:39:06 UTC
(
hide
)
Description:
Fix positioning of _Noreturn attribute for libeio
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2015-03-01 21:39:06 UTC
Size:
1.25 KB
patch
obsolete
>Index: devel/pecl-eio/files/patch-libeio__ecb.h >=================================================================== >--- devel/pecl-eio/files/patch-libeio__ecb.h (revision 0) >+++ devel/pecl-eio/files/patch-libeio__ecb.h (working copy) >@@ -0,0 +1,18 @@ >+--- libeio/ecb.h.orig 2013-02-20 12:06:23.000000000 +0100 >++++ libeio/ecb.h 2015-03-01 22:33:58.066666000 +0100 >+@@ -452,12 +452,12 @@ >+ } >+ #endif >+ >+-#if ECB_GCC_VERSION(4,5) >++#if ECB_GCC_VERSION(4,5) || defined __clang__ >+ #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/pecl-eio/files/patch-libeio__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 198140
: 153649