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
25d078ec
Commit
25d078ec
authored
Apr 11, 2017
by
Kenton Varda
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:sandstorm-io/capnproto
parents
01ac98df
75c7aaee
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
11 deletions
+5
-11
capability-test.c++
c++/src/capnp/capability-test.c++
+0
-8
async-unix-test.c++
c++/src/kj/async-unix-test.c++
+2
-1
super-test.sh
super-test.sh
+3
-2
No files found.
c++/src/capnp/capability-test.c++
View file @
25d078ec
...
...
@@ -510,14 +510,6 @@ public:
// Too lazy to write a whole separate test for each of these cases... so just make
// sure they both compile here, and only actually test the latter.
box
.
set
(
"cap"
,
kj
::
heap
<
TestExtendsDynamicImpl
>
(
callCount
));
#if __GNUG__ && !__clang__
// The last line in this block tickles a bug in Debian G++ 4.9.2:
// https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=781060
// For the moment, we can get away with skipping it as the previous line will set
// things up in a way that allows the test to complete successfully.
// TODO(soon): Remove this #if block when the bug is fixed.
return
;
#endif
box
.
set
(
"cap"
,
kj
::
heap
<
TestExtendsImpl
>
(
callCount
));
});
}
else
{
...
...
c++/src/kj/async-unix-test.c++
View file @
25d078ec
...
...
@@ -475,7 +475,8 @@ TEST(AsyncUnixTest, UrgentObserver) {
// Spawn a TCP server
KJ_SYSCALL
(
tmpFd
=
socket
(
AF_INET
,
SOCK_STREAM
,
0
));
kj
::
AutoCloseFd
serverFd
(
tmpFd
);
sockaddr_in
saddr
=
{};
sockaddr_in
saddr
;
memset
(
&
saddr
,
0
,
sizeof
(
saddr
));
saddr
.
sin_family
=
AF_INET
;
saddr
.
sin_addr
.
s_addr
=
htonl
(
INADDR_LOOPBACK
);
KJ_SYSCALL
(
bind
(
serverFd
,
reinterpret_cast
<
sockaddr
*>
(
&
saddr
),
sizeof
(
saddr
)));
...
...
super-test.sh
View file @
25d078ec
...
...
@@ -240,8 +240,9 @@ if [ $IS_CLANG = yes ]; then
export
CXXFLAGS
=
"
$CXXFLAGS
-Wno-error=unused-command-line-argument"
else
# GCC emits uninitialized warnings all over and they seem bogus. We use valgrind to test for
# uninitialized memory usage later on.
CXXFLAGS
=
"
$CXXFLAGS
-Wno-maybe-uninitialized"
# uninitialized memory usage later on. GCC 4 also emits strange bogus warnings with
# -Wstrict-overflow, so we disable it.
CXXFLAGS
=
"
$CXXFLAGS
-Wno-maybe-uninitialized -Wno-strict-overflow"
fi
cd
c++
...
...
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