Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 410928 Details for
Bug 552370
media-libs/devil-1.7.8-r2: build failure with gcc-5.1 due to use of "restrict" keyword in C++ code
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix usage of restrict keyword
devil-1.7.8-fix_restrict_keyword_usage.patch (text/plain), 503 bytes, created by
Sven Eden
on 2015-09-03 14:24:35 UTC
(
hide
)
Description:
Fix usage of restrict keyword
Filename:
MIME Type:
Creator:
Sven Eden
Created:
2015-09-03 14:24:35 UTC
Size:
503 bytes
patch
obsolete
>--- a/include/IL/il.h 2009-03-08 08:10:08.000000000 +0100 >+++ b/include/IL/il.h 2015-09-03 16:22:04.056637044 +0200 >@@ -63,13 +63,13 @@ > #endif > #endif > >-#ifdef RESTRICT_KEYWORD >-#define RESTRICT restrict >-#define CONST_RESTRICT const restrict >+#if defined(RESTRICT_KEYWORD) && !defined(__cplusplus) >+#define RESTRICT __restrict__ >+#define CONST_RESTRICT const __restrict__ > #else > #define RESTRICT > #define CONST_RESTRICT const >-#endif >+#endif // RESTRICT keyword and not C++ > > #include <stdio.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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 552370
:
405456
|
405458
| 410928