Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
capnproto
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
capnproto
Commits
46145207
Commit
46145207
authored
Aug 23, 2013
by
Kenton Varda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Silence bogus warning from GCC 4.8 so that the tests can complete.
parent
f0d551f7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
char-test.c++
c++/src/kj/parse/char-test.c++
+8
-0
No files found.
c++/src/kj/parse/char-test.c++
View file @
46145207
...
@@ -21,6 +21,14 @@
...
@@ -21,6 +21,14 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#if !__clang__ && __GNUC__ == 4 && __GNUC_MINOR__ == 8
// GCC 4.8 warns that ConstResult_<T, Tuple<>>::operator() returns an uninitialized value from
// the second branch. This is bogus AFAICT. Moreover, the warning comes from the use of the
// `number` parser. GCC does not complain when this parser is used in the Cap'n Proto compiler;
// only when it is used in this test.
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
#endif
#include "char.h"
#include "char.h"
#include "../string.h"
#include "../string.h"
#include <gtest/gtest.h>
#include <gtest/gtest.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment