Jump to content

Error compile source code


Recommended Posts

 

Hello community have some problems compiling the SRC.

Spoiler

compile main.cpp
In file included from main.cpp:64:
SpeedServer.h: In member function 'bool HME::operator<(const HME&) const':
SpeedServer.h:43: warning: suggest parentheses around && within ||
SpeedServer.h: In member function 'bool Date::operator<(const Date&) const':
SpeedServer.h:68: warning: suggest parentheses around && within ||
SpeedServer.h:69: warning: suggest parentheses around && within ||
main.cpp: In function 'int main(int, char**)':
main.cpp:486: error: 'CCheckServer' was not declared in this scope
main.cpp:486: error: expected `;' before 'checkServer'
main.cpp:523: error: 'CCheckServer' is not a class or namespace
main.cpp:528: error: '__SVN_VERSION__' was not declared in this scope
../../../Extern/include/cryptopp/cryptlib.h: In member function 'bool CryptoPP::NameValuePairs::GetValue(const char*, T&) const [with T = std::string]':
../../../Extern/include/cryptopp/cryptlib.h:277:   instantiated from here
../../../Extern/include/cryptopp/cryptlib.h:264: warning: dereferencing type-punned pointer will break strict-aliasing rules
../../../Extern/include/cryptopp/cryptlib.h: In member function 'bool CryptoPP::NameValuePairs::GetValue(const char*, T&) const [with T = int]':
../../../Extern/include/cryptopp/cryptlib.h:283:   instantiated from here
../../../Extern/include/cryptopp/cryptlib.h:264: warning: dereferencing type-punned pointer will break strict-aliasing rules
../../../Extern/include/gtest/internal/gtest-port.h: In function 'Derived* testing::internal::CheckedDowncastToActualType(Base*) [with Derived = const testing::internal::ValuesInIteratorRangeGenerator<bool>::Iterator, Base = const testing::internal::ParamIteratorInterface<bool>]':
../../../Extern/include/gtest/internal/gtest-param-util.h:321:   instantiated from 'bool testing::internal::ValuesInIteratorRangeGenerator<T>::Iterator::Equals(const testing::internal::ParamIteratorInterface<T>&) const [with T = bool]'
main.cpp:1098:   instantiated from here
../../../Extern/include/gtest/internal/gtest-port.h:1031: warning: dereferencing type-punned pointer will break strict-aliasing rules
gmake[1]: *** [Makefile:120: .obj/main.o] Error 1
gmake[1]: Leaving directory '/usr/src/Server/game/src'
gmake: *** [Makefile:89: all] Error 2
}

 

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 24

      Experimental Renderer

    2. 11

      Multi Language System

    3. 0

      [FREE DESIGN] Interface + Logo + Discord Banner and Avatar

    4. 4

      Feeding game source to LLM

    5. 0

      Quest 6/7 Problem

    6. 5

      Effect weapons

    7. 0

      [C++] Fix Core Downer Using Negative Number in GM Codes

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.