Postado Novembro 19, 2017 7 anos 1>------ Compilação iniciada: Projeto: theforgottenserver, Configuração: Debug x64 ------ 1>otpch.cpp 1>c:\users\tata\desktop\otxserver-otxserv3\path_10_11\src\definitions.h(23): error C2144: syntax error : 'auto' should be preceded by ';' 1>c:\users\tata\desktop\otxserver-otxserv3\path_10_11\src\definitions.h(23): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\users\tata\desktop\otxserver-otxserv3\path_10_11\src\definitions.h(24): error C2144: syntax error : 'auto' should be preceded by ';' 1>c:\users\tata\desktop\otxserver-otxserv3\path_10_11\src\definitions.h(24): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\users\tata\desktop\otxserver-otxserv3\path_10_11\src\definitions.h(24): error C2086: 'int constexpr' : redefinition 1> c:\users\tata\desktop\otxserver-otxserv3\path_10_11\src\definitions.h(23) : see declaration of 'constexpr' 1>c:\users\tata\desktop\otxserver-otxserv3\path_10_11\src\definitions.h(25): error C2144: syntax error : 'auto' should be preceded by ';' 1>c:\users\tata\desktop\otxserver-otxserv3\path_10_11\src\definitions.h(25): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\users\tata\desktop\otxserver-otxserv3\path_10_11\src\definitions.h(25): error C2086: 'int constexpr' : redefinition 1> c:\users\tata\desktop\otxserver-otxserv3\path_10_11\src\definitions.h(23) : see declaration of 'constexpr' 1>c:\users\tata\desktop\otxserver-otxserv3\path_10_11\src\definitions.h(26): error C2144: syntax error : 'auto' should be preceded by ';' 1>c:\users\tata\desktop\otxserver-otxserv3\path_10_11\src\definitions.h(26): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\users\tata\desktop\otxserver-otxserv3\path_10_11\src\definitions.h(26): error C2086: 'int constexpr' : redefinition 1> c:\users\tata\desktop\otxserver-otxserv3\path_10_11\src\definitions.h(23) : see declaration of 'constexpr' 1>c:\users\tata\desktop\otxserver-otxserv3\path_10_11\src\definitions.h(27): error C2144: syntax error : 'auto' should be preceded by ';' 1>c:\users\tata\desktop\otxserver-otxserv3\path_10_11\src\definitions.h(27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\users\tata\desktop\otxserver-otxserv3\path_10_11\src\definitions.h(27): error C2086: 'int constexpr' : redefinition 1> c:\users\tata\desktop\otxserver-otxserv3\path_10_11\src\definitions.h(23) : see declaration of 'constexpr' 1>c:\users\tata\desktop\otxserver-otxserv3\path_10_11\src\definitions.h(29): error C2144: syntax error : 'auto' should be preceded by ';' 1>c:\users\tata\desktop\otxserver-otxserv3\path_10_11\src\definitions.h(29): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\users\tata\desktop\otxserver-otxserv3\path_10_11\src\definitions.h(29): error C2086: 'int constexpr' : redefinition 1> c:\users\tata\desktop\otxserver-otxserv3\path_10_11\src\definitions.h(23) : see declaration of 'constexpr' 1>c:\users\tata\desktop\otxserver-otxserv3\path_10_11\src\definitions.h(30): error C2144: syntax error : 'auto' should be preceded by ';' 1>c:\users\tata\desktop\otxserver-otxserv3\path_10_11\src\definitions.h(30): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\users\tata\desktop\otxserver-otxserv3\path_10_11\src\definitions.h(30): error C2086: 'int constexpr' : redefinition 1> c:\users\tata\desktop\otxserver-otxserv3\path_10_11\src\definitions.h(23) : see declaration of 'constexpr' 1>c:\users\tata\desktop\otxserver-otxserv3\path_10_11\src\definitions.h(31): error C2144: syntax error : 'auto' should be preceded by ';' 1>c:\users\tata\desktop\otxserver-otxserv3\path_10_11\src\definitions.h(31): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\users\tata\desktop\otxserver-otxserv3\path_10_11\src\definitions.h(31): error C2086: 'int constexpr' : redefinition 1> c:\users\tata\desktop\otxserver-otxserv3\path_10_11\src\definitions.h(23) : see declaration of 'constexpr' 1>c:\users\tata\desktop\otxserver-otxserv3\path_10_11\src\definitions.h(33): error C2144: syntax error : 'auto' should be preceded by ';' 1>c:\users\tata\desktop\otxserver-otxserv3\path_10_11\src\definitions.h(33): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\users\tata\desktop\otxserver-otxserv3\path_10_11\src\definitions.h(33): error C2086: 'int constexpr' : redefinition 1> c:\users\tata\desktop\otxserver-otxserv3\path_10_11\src\definitions.h(23) : see declaration of 'constexpr' 1>c:\users\tata\desktop\otxserver-otxserv3\path_10_11\src\definitions.h(34): error C2144: syntax error : 'auto' should be preceded by ';' 1>c:\users\tata\desktop\otxserver-otxserv3\path_10_11\src\definitions.h(34): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\users\tata\desktop\otxserver-otxserv3\path_10_11\src\definitions.h(34): error C2086: 'int constexpr' : redefinition 1> c:\users\tata\desktop\otxserver-otxserv3\path_10_11\src\definitions.h(23) : see declaration of 'constexpr' 1>c:\users\tata\desktop\otxserver-otxserv3\path_10_11\src\otpch.h(26): fatal error C1083: Cannot open include file: 'chrono': No such file or directory 1>Projeto de compilação pronto "theforgottenserver.vcxproj" -- FALHA. ========== Compilar: 0 com êxito, 1 com falha, 0 atualizados, 0 ignorados ========== windowns 64bits (MSV 2010) -- alguem pode ajuda? Spoiler /** * The Forgotten Server - a free and open-source MMORPG server emulator * Copyright (C) 2017 Mark Samman <[email protected]> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 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 General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef FS_DEFINITIONS_H_877452FEC245450C9F96B8FD268D8963 #define FS_DEFINITIONS_H_877452FEC245450C9F96B8FD268D8963 static constexpr auto STATUS_SERVER_NAME = "OTX Server"; static constexpr auto STATUS_SERVER_VERSION = "3"; static constexpr auto MINOR_VERSION = "10"; static constexpr auto STATUS_SERVER_DEVELOPERS = "Matt Gomez, Leandro Brewster, Erick Nunes, Joao Leonardo Pereira, Bruno Carvalho, Charles Kassab, OTX Contributors and The Forgotten Server Developers"; static constexpr auto GIT_REPO = "https://github.com/mattyx14/otxserver/tree/otxserv3/"; static constexpr auto CLIENT_VERSION_MIN = 1100; static constexpr auto CLIENT_VERSION_MAX = 1149; static constexpr auto CLIENT_VERSION_STR = "11.49"; static constexpr auto AUTHENTICATOR_DIGITS = 6U; static constexpr auto AUTHENTICATOR_PERIOD = 30U; #ifndef __FUNCTION__ #define __FUNCTION__ __func__ #endif #ifndef _USE_MATH_DEFINES #define _USE_MATH_DEFINES #endif #include <cmath> #ifdef _WIN32 #ifndef NOMINMAX #define NOMINMAX #endif #define WIN32_LEAN_AND_MEAN #ifdef _MSC_VER #ifdef NDEBUG #define _SECURE_SCL 0 #define HAS_ITERATOR_DEBUGGING 0 #endif #pragma warning(disable:4127) // conditional expression is constant #pragma warning(disable:4244) // 'argument' : conversion from 'type1' to 'type2', possible loss of data #pragma warning(disable:4250) // 'class1' : inherits 'class2::member' via dominance #pragma warning(disable:4267) // 'var' : conversion from 'size_t' to 'type', possible loss of data #pragma warning(disable:4351) // new behavior: elements of array will be default initialized #pragma warning(disable:4458) // declaration hides class member #endif #define strcasecmp _stricmp #define strncasecmp _strnicmp #ifndef _WIN32_WINNT // 0x0602: Windows 7 #define _WIN32_WINNT 0x0602 #endif #endif #ifndef M_PI #define M_PI 3.14159265358979323846 #endif #endif Meus trabalhos: [Movements] TFS 1.1+ Area Hardcore [Movements] TFS 1.1+ Tile Party [Action] TFS 1.1+ Bau diário [Action] TFS 1.1+ Guild Dungeon Lever [Talkactions] TFS 0.3.6 / 0.4 Quest Hunt por Tempo Contato: Discord: Tataboy67#4934
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.