GhoPD
01-02-2014, 08:05 PM
OS: Windows 7 SP1
Code::Blocks: 13.12
MinGW: 4.8.1
Time64 & iniparser are inside root directory (
C:\Users\WHOAMI\Desktop\vaultmp-master\source)
I cannot compile any project.:
VaultMaster.cbp:
||=== Build: Windows in vaultmaster (compiler: GNU GCC Compiler) ===|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\NatPunchthroughClient.cpp||In function 'char* TestModeToString(RakNet::NatPunchthroughClient::Se ndPing::TestMode)':|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\NatPunchthroughClient.cpp|791 |warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\NatPunchthroughClient.cpp|794 |warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\NatPunchthroughClient.cpp|800 |warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\NatPunchthroughClient.cpp|803 |warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\NatPunchthroughClient.cpp|806 |warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\NatPunchthroughClient.cpp|809 |warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\NatPunchthroughClient.cpp|812 |warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\NatPunchthroughClient.cpp|815 |warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\NatPunchthroughClient.cpp|818 |warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\RakString.cpp||In member function 'WCHAR* RakNet::RakString::ToWideChar()':|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\RakString.cpp|451|warning: deprecated conversion from string constant to 'WCHAR* {aka wchar_t*}' [-Wwrite-strings]|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\DR_SHA1.h|172|error: multiple types in one declaration|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\DR_SHA1.h|172|error: declaration does not declare anything [-fpermissive]|
||=== Build failed: 2 error(s), 10 warning(s) (0 minute(s), 46 second(s)) ===|
VaultmpDLL.cbp:
||=== Build: default in vaultmpdll (compiler: GNU GCC Compiler) ===|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp||In function 'void Utils::timestamp()':|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|18|error: 'snprintf' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|22|error: 'printf' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp||In function 'int Utils::progress_func(double, double)':|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|36|error: 'printf' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|47|error: 'stdout' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|47|error: 'fflush' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp||In function 'std::string Utils::toString(int)':|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|59|error: 'snprintf' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp||In function 'std::string Utils::toString(unsigned int)':|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|66|error: 'snprintf' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp||In function 'std::string Utils::toString(unsigned char)':|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|73|error: 'snprintf' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp||In function 'std::string Utils::toString(double)':|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|80|error: 'snprintf' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp||In function 'std::string Utils::toString(long long unsigned int)':|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|87|error: 'snprintf' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp||In function 'unsigned int Utils::FileLength(const char*)':|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|130|error: 'fopen' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|135|error: 'fseek' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|136|error: 'ftell' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|137|error: 'fclose' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp||In function 'bool Utils::crc32file(const char*, unsigned int*)':|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|282|error: 'fopen' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|287|error: 'getc' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|287|error: 'EOF' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|293|error: 'ferror' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|298|error: 'fclose' was not declared in this scope|
||=== Build failed: 19 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|
Vaultmpserver.cbp:
||=== Build: debug in vaultserver (compiler: GNU GCC Compiler) ===|
..\RakNet\RakString.cpp|442|warning: extra tokens at end of #ifdef directive [enabled by default]|
..\RakNet\RakString.cpp||In member function 'WCHAR* RakNet::RakString::ToWideChar()':|
..\RakNet\RakString.cpp|451|warning: deprecated conversion from string constant to 'WCHAR* {aka wchar_t*}' [-Wwrite-strings]|
||=== Build failed: 0 error(s), 2 warning(s) (0 minute(s), 0 second(s)) ===|
Any ideas what's wrong? thanks
Code::Blocks: 13.12
MinGW: 4.8.1
Time64 & iniparser are inside root directory (
C:\Users\WHOAMI\Desktop\vaultmp-master\source)
I cannot compile any project.:
VaultMaster.cbp:
||=== Build: Windows in vaultmaster (compiler: GNU GCC Compiler) ===|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\NatPunchthroughClient.cpp||In function 'char* TestModeToString(RakNet::NatPunchthroughClient::Se ndPing::TestMode)':|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\NatPunchthroughClient.cpp|791 |warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\NatPunchthroughClient.cpp|794 |warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\NatPunchthroughClient.cpp|800 |warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\NatPunchthroughClient.cpp|803 |warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\NatPunchthroughClient.cpp|806 |warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\NatPunchthroughClient.cpp|809 |warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\NatPunchthroughClient.cpp|812 |warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\NatPunchthroughClient.cpp|815 |warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\NatPunchthroughClient.cpp|818 |warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\RakString.cpp||In member function 'WCHAR* RakNet::RakString::ToWideChar()':|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\RakString.cpp|451|warning: deprecated conversion from string constant to 'WCHAR* {aka wchar_t*}' [-Wwrite-strings]|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\DR_SHA1.h|172|error: multiple types in one declaration|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\RakNet\DR_SHA1.h|172|error: declaration does not declare anything [-fpermissive]|
||=== Build failed: 2 error(s), 10 warning(s) (0 minute(s), 46 second(s)) ===|
VaultmpDLL.cbp:
||=== Build: default in vaultmpdll (compiler: GNU GCC Compiler) ===|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp||In function 'void Utils::timestamp()':|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|18|error: 'snprintf' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|22|error: 'printf' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp||In function 'int Utils::progress_func(double, double)':|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|36|error: 'printf' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|47|error: 'stdout' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|47|error: 'fflush' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp||In function 'std::string Utils::toString(int)':|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|59|error: 'snprintf' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp||In function 'std::string Utils::toString(unsigned int)':|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|66|error: 'snprintf' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp||In function 'std::string Utils::toString(unsigned char)':|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|73|error: 'snprintf' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp||In function 'std::string Utils::toString(double)':|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|80|error: 'snprintf' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp||In function 'std::string Utils::toString(long long unsigned int)':|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|87|error: 'snprintf' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp||In function 'unsigned int Utils::FileLength(const char*)':|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|130|error: 'fopen' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|135|error: 'fseek' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|136|error: 'ftell' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|137|error: 'fclose' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp||In function 'bool Utils::crc32file(const char*, unsigned int*)':|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|282|error: 'fopen' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|287|error: 'getc' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|287|error: 'EOF' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|293|error: 'ferror' was not declared in this scope|
C:\Users\WHOAMI\Desktop\vaultmp-master\source\Utils.cpp|298|error: 'fclose' was not declared in this scope|
||=== Build failed: 19 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|
Vaultmpserver.cbp:
||=== Build: debug in vaultserver (compiler: GNU GCC Compiler) ===|
..\RakNet\RakString.cpp|442|warning: extra tokens at end of #ifdef directive [enabled by default]|
..\RakNet\RakString.cpp||In member function 'WCHAR* RakNet::RakString::ToWideChar()':|
..\RakNet\RakString.cpp|451|warning: deprecated conversion from string constant to 'WCHAR* {aka wchar_t*}' [-Wwrite-strings]|
||=== Build failed: 0 error(s), 2 warning(s) (0 minute(s), 0 second(s)) ===|
Any ideas what's wrong? thanks