Jump to content
TrinityCore

robinsch

Members
  • Posts

    29
  • Joined

  • Last visited

Posts posted by robinsch

  1. here is a tip

    World.cpp(1675

    World.cpp is the file and 1675 the line number of the error

    Well thanks, but I'm not that retarded to read one line. :<

    
    LoginDatabase.PExecute("INSERT INTO uptime (realmid, starttime, uptime, revision) VALUES(%u, %u, 0, '%s')",
    
    							realmID, uint32(m_startTime), _FULLVERSION);	   // One-time query
    
    

    Something is wrong with my _FULLVERSION

  2. When I try to compile the current rev (commit - cce6424337ca09c286530b19545c93dec896966f) I get the following error using VS2008.

    
    
    3>..\..\..\..\src\server\game\World\World.cpp(1675) : error C2146: Syntaxfehler: Fehlendes ')' vor Bezeichner 'VER_PRODUCTVERSION_STR'
    
    3>..\..\..\..\src\server\game\World\World.cpp(1675) : error C2059: Syntaxfehler: ')'
    
    
    Thats pretty weird because my SystemConfig.h is untouched.
    
    /*
    
    * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
    
    * Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
    
    *
    
    * 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, see <http://www.gnu.org/licenses/>.
    
    */
    
    // THIS FILE IS DEPRECATED
    
    #ifndef TRINITY_SYSTEMCONFIG_H
    
    #define TRINITY_SYSTEMCONFIG_H
    
    #include "Define.h"
    
    #include "revision.h"
    
    #define _PACKAGENAME "TrinityCore"
    
    #if TRINITY_ENDIAN == TRINITY_BIGENDIAN
    
    # define _ENDIAN_STRING "big-endian"
    
    #else
    
    # define _ENDIAN_STRING "little-endian"
    
    #endif
    
    #if PLATFORM == PLATFORM_WINDOWS
    
    # ifdef _WIN64
    
    #  define _FULLVERSION _PACKAGENAME " rev. " VER_PRODUCTVERSION_STR " (Win64, "_BUILD_DIRECTIVE ")"
    
    # else
    
    #  define _FULLVERSION _PACKAGENAME " rev. " VER_PRODUCTVERSION_STR " (Win32, " _BUILD_DIRECTIVE ")"
    
    # endif
    
    #else
    
    #  define _FULLVERSION _PACKAGENAME " rev. " VER_PRODUCTVERSION_STR " (Unix, " _BUILD_DIRECTIVE ")"
    
    #endif
    
    #endif
    
    

    Mabye I missed something?

    Thanks.

×
×
  • Create New...