Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 470750 Details for
Bug 597138
dev-embedded/avarice-2.13 with sys-devel/gcc-5 - jtag2run.cc:97:1: error: _Pragma takes a parenthesized string literal
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch fixing pragma issue for gcc-5
avarice-2.13-gccpragma.patch (text/plain), 690 bytes, created by
Brian
on 2017-04-24 12:49:03 UTC
(
hide
)
Description:
Patch fixing pragma issue for gcc-5
Filename:
MIME Type:
Creator:
Brian
Created:
2017-04-24 12:49:03 UTC
Size:
690 bytes
patch
obsolete
>--- a/src/pragma.h >+++ b/src/pragma.h >@@ -28,9 +28,10 @@ > */ > #if defined(__GNUC__) > # if __GNUC__ > 4 >-# define PRAGMA_DIAG_PUSH _Pragma(GCC diagnostic push) >-# define PRAGMA_DIAG_POP _Pragma(GCC diagnostic pop) >-# define PRAGMA_DIAG_IGNORED(x) _Pragma(GCC diagnostic ignored x) >+# define PRAGMA_DIAG_PUSH _Pragma("GCC diagnostic push") >+# define PRAGMA_DIAG_POP _Pragma("GCC diagnostic pop") >+# define PRAGMA_(x) _Pragma(#x) >+# define PRAGMA_DIAG_IGNORED(x) PRAGMA_(GCC diagnostic ignored x) > # elif __GNUC__ == 4 > # if __GNUC_MINOR__ >= 6 > # define PRAGMA_DIAG_PUSH _Pragma("GCC diagnostic push")
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 597138
:
450230
| 470750 |
470752