The Samba-Bugzilla – Attachment 2382 Details for
Bug 4506
Compile dies with errors
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix NORETURN glitch
noreturn.patch (text/plain), 642 bytes, created by
Wayne Davison
on 2007-04-11 21:55:52 UTC
(
hide
)
Description:
Fix NORETURN glitch
Filename:
MIME Type:
Creator:
Wayne Davison
Created:
2007-04-11 21:55:52 UTC
Size:
642 bytes
patch
obsolete
>--- rsync-2.6.9/rsync.h 2006-10-23 20:31:30.000000000 -0700 >+++ rsync.h 2007-04-11 19:50:43.000000000 -0700 >@@ -659,15 +659,18 @@ struct chmod_mode_struct; > #include "lib/permstring.h" > #include "lib/addrinfo.h" > >-#if !defined __GNUC__ || defined __APPLE__ >-/* Apparently the OS X port of gcc gags on __attribute__. >- * >- * <http://www.opensource.apple.com/bugs/X/gcc/2512150.html> */ >+#ifndef __GNUC__ > #define __attribute__(x) >+#else >+# if __GNUC__ <= 2 >+# define NORETURN >+# endif > #endif > > #define UNUSED(x) x __attribute__((__unused__)) >+#ifndef NORETURN > #define NORETURN __attribute__((__noreturn__)) >+#endif > > #include "proto.h" >
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 Raw
Actions:
View
Attachments on
bug 4506
: 2382