Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
d6f64f5a
Commit
d6f64f5a
authored
May 21, 2012
by
Marcin Siodelski
Browse files
[1954] Switching to fully compile with C++ to get rid of clang linking errors
parent
a5171dfc
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
tests/tools/perfdhcp/Makefile.am
View file @
d6f64f5a
...
...
@@ -12,8 +12,13 @@ if USE_STATIC_LINK
AM_LDFLAGS
+=
-static
endif
# We have to suppress errors because we are compiling C code with CXX
# We have to do this to link with new C++ pieces of code
perfdhcp_CXXFLAGS
=
$(AM_CXXFLAGS)
perfdhcp_CXXFLAGS
+=
-Wno-error
-Wno-writestrings
pkglibexec_PROGRAMS
=
perfdhcp
perfdhcp_SOURCES
=
perfdhcp.c
perfdhcp_SOURCES
=
perfdhcp.c
c
perfdhcp_SOURCES
+=
command_options.cc command_options.h
perfdhcp_LDADD
=
$(top_builddir)
/src/lib/exceptions/libexceptions.la
tests/tools/perfdhcp/command_options.cc
View file @
d6f64f5a
...
...
@@ -12,8 +12,6 @@
// OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
// PERFORMANCE OF THIS SOFTWARE.
#define __STDC_LIMIT_MACROS
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
...
...
tests/tools/perfdhcp/perfdhcp.cc
0 → 100644
View file @
d6f64f5a
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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