Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 435722 Details for
Bug 582694
dev-util/source-highlight-3.1.7-r2: building w/gcc-6: ./stdbool.h:112:70: error: expected ';', identifier or '(' before '_Bool' typedef enum { _Bool_must_promote_to_int = -1, false = 0, true = 1 } _Bool;
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
source-highlight-3.1.7-cpp11-gcc6.patch
source-highlight-3.1.7-cpp11-gcc6.patch (text/plain), 2.04 KB, created by
Peter Levine
on 2016-05-30 04:03:06 UTC
(
hide
)
Description:
source-highlight-3.1.7-cpp11-gcc6.patch
Filename:
MIME Type:
Creator:
Peter Levine
Created:
2016-05-30 04:03:06 UTC
Size:
2.04 KB
patch
obsolete
>--- source-highlight-3.1.7/configure.old 2012-05-09 13:49:55.000000000 -0400 >+++ source-highlight-3.1.7/configure 2016-05-29 22:55:44.335380664 -0400 >@@ -18537,6 +18537,7 @@ > /* end confdefs.h. */ > > #include <stdbool.h> >+ #if ! defined __cplusplus || __cplusplus < 201103L > #ifndef bool > "error: bool is not defined" > #endif >@@ -18552,6 +18553,7 @@ > #if true != 1 > "error: true is not 1" > #endif >+ #endif > #ifndef __bool_true_false_are_defined > "error: __bool_true_false_are_defined is not defined" > #endif >--- source-highlight-3.1.7/gl/m4/stdbool.m4.old 2011-12-16 12:10:10.000000000 -0500 >+++ source-highlight-3.1.7/gl/m4/stdbool.m4 2016-05-29 22:41:51.924258591 -0400 >@@ -43,6 +43,7 @@ > [AC_LANG_PROGRAM( > [[ > #include <stdbool.h> >+ #if ! defined __cplusplus || __cplusplus < 201103L > #ifndef bool > "error: bool is not defined" > #endif >@@ -58,6 +59,7 @@ > #if true != 1 > "error: true is not 1" > #endif >+ #endif > #ifndef __bool_true_false_are_defined > "error: __bool_true_false_are_defined is not defined" > #endif >--- source-highlight-3.1.7/lib/srchilite/settings.cpp.old 2016-05-29 23:09:23.000000000 -0400 >+++ source-highlight-3.1.7/lib/srchilite/settings.cpp 2016-05-29 23:10:56.015942443 -0400 >@@ -94,14 +94,14 @@ > string file = dataDir + "/" + testFileName; > ifstream i(file.c_str()); > >- return (i != 0); >+ return ((bool)i); > } > > bool Settings::checkForConfFile() { > string file = confDir + confFileName; > ifstream i(file.c_str()); > >- return (i != 0); >+ return ((bool)i); > } > > bool Settings::readDataDir() { >@@ -109,7 +109,7 @@ > ifstream i(file.c_str()); > > string line; >- if (i != 0) { >+ if (i) { > while (read_line(&i, line)) { > if (line.size()) { > boost::cmatch what;
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 582694
:
433888
|
433890
| 435722