From 33c73f3f16b966ad9602de0faec8f947584475f7 Mon Sep 17 00:00:00 2001 From: kervala Date: Tue, 26 Mar 2013 19:57:00 +0100 Subject: [PATCH] fixes #33 build failure/error using clang --- code/ryzom/client/src/cdb_synchronised.cpp | 1 + .../src/interface_v3/action_handler_base.cpp | 1 + .../client/src/interface_v3/lua_ihm_ryzom.cpp | 18 ++++++++++++++++++ .../client/src/interface_v3/parser_modules.cpp | 1 + .../register_interface_elements.cpp | 2 +- .../src/interface_v3/view_pointer_ryzom.cpp | 17 +++++++++++++++++ 6 files changed, 39 insertions(+), 1 deletion(-) diff --git a/code/ryzom/client/src/cdb_synchronised.cpp b/code/ryzom/client/src/cdb_synchronised.cpp index 3da7e6847..08189fdd4 100644 --- a/code/ryzom/client/src/cdb_synchronised.cpp +++ b/code/ryzom/client/src/cdb_synchronised.cpp @@ -15,6 +15,7 @@ // along with this program. If not, see . +#include "stdpch.h" //#define TRACE_READ_DELTA //#define TRACE_WRITE_DELTA diff --git a/code/ryzom/client/src/interface_v3/action_handler_base.cpp b/code/ryzom/client/src/interface_v3/action_handler_base.cpp index bb33ad756..f44dc986b 100644 --- a/code/ryzom/client/src/interface_v3/action_handler_base.cpp +++ b/code/ryzom/client/src/interface_v3/action_handler_base.cpp @@ -14,6 +14,7 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . +#include "stdpch.h" #include "action_handler_base.h" #include "action_handler_misc.h" diff --git a/code/ryzom/client/src/interface_v3/lua_ihm_ryzom.cpp b/code/ryzom/client/src/interface_v3/lua_ihm_ryzom.cpp index 377e72d00..06b0b8557 100644 --- a/code/ryzom/client/src/interface_v3/lua_ihm_ryzom.cpp +++ b/code/ryzom/client/src/interface_v3/lua_ihm_ryzom.cpp @@ -1,3 +1,21 @@ +// Ryzom - MMORPG Framework +// Copyright (C) 2010 Winch Gate Property Limited +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +#include "stdpch.h" + #include // to get rid of you_must_not_use_assert___use_nl_assert___read_debug_h_file messages diff --git a/code/ryzom/client/src/interface_v3/parser_modules.cpp b/code/ryzom/client/src/interface_v3/parser_modules.cpp index ec2680849..ff1c93645 100644 --- a/code/ryzom/client/src/interface_v3/parser_modules.cpp +++ b/code/ryzom/client/src/interface_v3/parser_modules.cpp @@ -14,6 +14,7 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . +#include "stdpch.h" #include "parser_modules.h" #include "nel/gui/view_text.h" #include "nel/gui/interface_group.h" diff --git a/code/ryzom/client/src/interface_v3/register_interface_elements.cpp b/code/ryzom/client/src/interface_v3/register_interface_elements.cpp index 30525bbab..6ce0029bf 100644 --- a/code/ryzom/client/src/interface_v3/register_interface_elements.cpp +++ b/code/ryzom/client/src/interface_v3/register_interface_elements.cpp @@ -14,7 +14,7 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . - +#include "stdpch.h" #include "interface_3d_scene.h" #include "view_radar.h" #include "dbctrl_sheet.h" diff --git a/code/ryzom/client/src/interface_v3/view_pointer_ryzom.cpp b/code/ryzom/client/src/interface_v3/view_pointer_ryzom.cpp index 8b5c84f52..360e0b762 100644 --- a/code/ryzom/client/src/interface_v3/view_pointer_ryzom.cpp +++ b/code/ryzom/client/src/interface_v3/view_pointer_ryzom.cpp @@ -1,3 +1,20 @@ +// Ryzom - MMORPG Framework +// Copyright (C) 2010 Winch Gate Property Limited +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +#include "stdpch.h" #include "view_pointer_ryzom.h" #include "group_map.h" #include "nel/gui/group_html.h"