Jump to content
×
×
  • Create New...
  • 0

Error compile source code


johntons

Question

 

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
  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

2 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Announcements

  • -15% Discount in Metin2 Dev Store (01/10/2021 => 31/12/2021) => Code => 15_PCT_OCT_TO_DEC_2021


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.