dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
command.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d51669e
)
Small fixes detected after changing to clang++ compiler.
author
Rafał Długołęcki
<rafal@dlugolecki.net.pl>
Sun, 3 May 2015 11:07:33 +0000
(13:07 +0200)
committer
Rafał Długołęcki
<rafal@dlugolecki.net.pl>
Sun, 3 May 2015 11:07:33 +0000
(13:07 +0200)
docs/Makefile.am
patch
|
blob
|
history
tests/Makefile.am
patch
|
blob
|
history
tests/option/handles_float_value.cpp
patch
|
blob
|
history
tests/option/handles_string_value.cpp
patch
|
blob
|
history
tests/parameter/TestParameter.h
patch
|
blob
|
history
diff --git
a/docs/Makefile.am
b/docs/Makefile.am
index b61769332784d4701480e394bf3551903c7e29bb..63e120a156720a79e1e502751bf9dfa8ac368bce 100644
(file)
--- a/
docs/Makefile.am
+++ b/
docs/Makefile.am
@@
-2,8
+2,8
@@
if HAVE_DOXYGEN
directory = $(top_srcdir)/docs/man/man3
directory = $(top_srcdir)/docs/man/man3
-dist_man_MANS = $(directory)/*.3
-$(directory)/*.3: doxyfile.stamp
+
#
dist_man_MANS = $(directory)/*.3
+
#
$(directory)/*.3: doxyfile.stamp
#$(directory)/man_page_2.3: doxyfile.stamp
doxyfile.stamp:
#$(directory)/man_page_2.3: doxyfile.stamp
doxyfile.stamp:
diff --git
a/tests/Makefile.am
b/tests/Makefile.am
index 224aa6aabb2684d1cd26b0c293ec45fc8ec182c0..0a9a6312be4c0cc4d094dc97f649f604b4aa232d 100644
(file)
--- a/
tests/Makefile.am
+++ b/
tests/Makefile.am
@@
-17,7
+17,7
@@
TESTS = \
noinst_PROGRAMS = $(TESTS)
noinst_PROGRAMS = $(TESTS)
-AM_CXXFLAGS = -
O3 -
I$(top_srcdir)/include -std=c++11
+AM_CXXFLAGS = -I$(top_srcdir)/include -std=c++11
descriptive_holds_data_test_SOURCES = descriptive/holds_data.cpp
descriptive_holds_data_test_SOURCES = descriptive/holds_data.cpp
diff --git
a/tests/option/handles_float_value.cpp
b/tests/option/handles_float_value.cpp
index e1599f6b3b0f59ff4e37f219a8add2f2270e8155..6bbc5ed700ae440e4b4a22ea525967de12bf9c3a 100644
(file)
--- a/
tests/option/handles_float_value.cpp
+++ b/
tests/option/handles_float_value.cpp
@@
-9,7
+9,7
@@
using namespace command;
#define NAME "test"
#define VALUE "567890.1234"
#define NAME "test"
#define VALUE "567890.1234"
-#define OPTION NAME
"="
VALUE
+#define OPTION NAME
"="
VALUE
typedef float OptionType;
typedef float OptionType;
diff --git
a/tests/option/handles_string_value.cpp
b/tests/option/handles_string_value.cpp
index 4b276ec6844235fb7bb742ff85f565a19f56eb46..7f9099d42e8936d6c9eec353579d168600d24e66 100644
(file)
--- a/
tests/option/handles_string_value.cpp
+++ b/
tests/option/handles_string_value.cpp
@@
-9,7
+9,7
@@
using namespace command;
#define NAME "test"
#define VALUE "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
#define NAME "test"
#define VALUE "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
-#define OPTION NAME
"="
VALUE
+#define OPTION NAME
"="
VALUE
typedef std::string OptionType;
typedef std::string OptionType;
diff --git
a/tests/parameter/TestParameter.h
b/tests/parameter/TestParameter.h
index 592c6532911dd85dc43b2c0ba710c75ba89eb901..9e2874d8e3326d561ae3fca2a2bd1a63abc88281 100644
(file)
--- a/
tests/parameter/TestParameter.h
+++ b/
tests/parameter/TestParameter.h
@@
-6,5
+6,5
@@
public:
TestParameter(const std::string & description) : Parameter(description) { }
virtual void handle() { }
TestParameter(const std::string & description) : Parameter(description) { }
virtual void handle() { }
- virtual bool understand(const std::string &
argVal) {
}
+ virtual bool understand(const std::string &
) { return false;
}
};
\ No newline at end of file
};
\ No newline at end of file