- Fix build with clang 6

This commit is contained in:
Dmitry Marakasov 2018-06-22 18:50:21 +00:00
parent 15ba00fd7e
commit 790d4f57b1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=473057
2 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,11 @@
--- src/mod_fdm_config.h.orig 2016-04-10 16:57:14 UTC
+++ src/mod_fdm_config.h
@@ -35,7 +35,7 @@
#define MOD_FDM_USE_HELI01 1
#define MOD_FDM_USE_MCOPTER01 1
-#define MOD_FDM_INFOSTR "CRRCSim "PACKAGE_VERSION
+#define MOD_FDM_INFOSTR "CRRCSim " PACKAGE_VERSION
#endif // MOD_FDM_CONFIG_H

View file

@ -0,0 +1,11 @@
--- src/mod_video/crrc_animation.cpp.orig 2016-04-10 16:57:14 UTC
+++ src/mod_video/crrc_animation.cpp
@@ -84,7 +84,7 @@ void createAnimation(SimpleXMLTransfer *
else
{
std::cerr << "createAnimation: unknown animation type \'"
- << type << "\'" << std::cerr;
+ << type << "\'" << std::endl;
}
if (anim != NULL)