Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
11647020
Commit
11647020
authored
Aug 20, 2011
by
Ilya Leoshkevich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure.ac: save and restore CFLAGS, Makefile.am: nobase_include, more flags
parent
0195a6e9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
Makefile.am
Makefile.am
+3
-2
configure.ac
configure.ac
+5
-1
src/mailman.cpp
src/mailman.cpp
+1
-1
No files found.
Makefile.am
View file @
11647020
...
@@ -51,7 +51,7 @@ libcppa_la_SOURCES = \
...
@@ -51,7 +51,7 @@ libcppa_la_SOURCES = \
src/yielding_message_queue.cpp
\
src/yielding_message_queue.cpp
\
src/yield_interface.cpp
src/yield_interface.cpp
include_HEADERS
=
\
nobase_
include_HEADERS
=
\
cppa/actor_behavior.hpp
\
cppa/actor_behavior.hpp
\
cppa/actor.hpp
\
cppa/actor.hpp
\
cppa/actor_proxy.hpp
\
cppa/actor_proxy.hpp
\
...
@@ -187,4 +187,5 @@ include_HEADERS = \
...
@@ -187,4 +187,5 @@ include_HEADERS = \
cppa/util/void_type.hpp
\
cppa/util/void_type.hpp
\
cppa/util/wrapped.hpp
cppa/util/wrapped.hpp
libcppa_la_CXXFLAGS
=
-Werror
--std
=
c++0x
libcppa_la_CXXFLAGS
=
--std
=
c++0x
-pedantic
-Wall
-Wextra
-Werror
libcppa_la_LDFLAGS
=
-lboost_thread
configure.ac
View file @
11647020
...
@@ -5,7 +5,8 @@ AC_PROG_CXX
...
@@ -5,7 +5,8 @@ AC_PROG_CXX
AC_PROG_LIBTOOL
AC_PROG_LIBTOOL
AC_LANG([C++])
AC_LANG([C++])
CPPFLAGS="-Werror --std=c++0x"
ORIGINAL_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS -Werror --std=c++0x"
AC_CACHE_CHECK(
AC_CACHE_CHECK(
[whether C++ compiler supports variadic templates],
[whether C++ compiler supports variadic templates],
...
@@ -27,5 +28,8 @@ AS_IF(
...
@@ -27,5 +28,8 @@ AS_IF(
[],
[],
[AC_MSG_ERROR([at least one required C++ compiler feature is not supported])])
[AC_MSG_ERROR([at least one required C++ compiler feature is not supported])])
CPPFLAGS="$ORIGINAL_CPPFLAGS"
AC_CONFIG_FILES([Makefile])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
AC_OUTPUT
src/mailman.cpp
View file @
11647020
...
@@ -126,7 +126,7 @@ void mailman_loop()
...
@@ -126,7 +126,7 @@ void mailman_loop()
// disconnect peer if send() failed
// disconnect peer if send() failed
disconnect_peer
=
(
sent
<=
0
);
disconnect_peer
=
(
sent
<=
0
);
// make sure all bytes are written
// make sure all bytes are written
if
(
s
ent
!=
size32
)
if
(
s
tatic_cast
<
std
::
uint32_t
>
(
sent
)
!=
size32
)
{
{
throw
std
::
logic_error
(
"send() not a synchronous socket"
);
throw
std
::
logic_error
(
"send() not a synchronous socket"
);
}
}
...
...
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