my plugins don´t compile but the plugin is good build
see errors
Code:
Compilador: Default compiler
Building Makefile: "C:\Documents and Settings\Tiago\Ambiente de trabalho\Makefile.win"
Executando make...
make.exe -f "C:\Documents and Settings\Tiago\Ambiente de trabalho\Makefile.win" all
g++.exe -c E:/caza/jogos/Sierra/steam/SteamApps/SourceMods/src/utils/serverplugin_sample/serverplugin_bot.cpp -o E:/caza/jogos/Sierra/steam/SteamApps/SourceMods/src/utils/serverplugin_sample/serverplugin_bot.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include" -I"C:/Dev-Cpp/include/tier0" -I"C:/Dev-Cpp/include/sys"
In file included from C:/Dev-Cpp/include/tier0/platform.h:13,
from C:/Dev-Cpp/include/interface.h:41,
from E:/caza/jogos/Sierra/steam/SteamApps/SourceMods/src/utils/serverplugin_sample/serverplugin_bot.cpp:14:
C:/Dev-Cpp/include/tier0/wchartypes.h:24: error: redeclaration of C++ built-in type `short'
In file included from C:/Dev-Cpp/include/c++/3.4.2/backward/new.h:33,
from C:/Dev-Cpp/include/tier0/platform.h:24,
from C:/Dev-Cpp/include/interface.h:41,
from E:/caza/jogos/Sierra/steam/SteamApps/SourceMods/src/utils/serverplugin_sample/serverplugin_bot.cpp:14:
C:/Dev-Cpp/include/c++/3.4.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
In file included from C:/Dev-Cpp/include/interface.h:41,
from E:/caza/jogos/Sierra/steam/SteamApps/SourceMods/src/utils/serverplugin_sample/serverplugin_bot.cpp:14:
C:/Dev-Cpp/include/tier0/platform.h:499: error: `int64' does not name a type
In file included from C:/Dev-Cpp/include/tier0/platform.h:585,
from C:/Dev-Cpp/include/interface.h:41,
from E:/caza/jogos/Sierra/steam/SteamApps/SourceMods/src/utils/serverplugin_sample/serverplugin_bot.cpp:14:
C:/Dev-Cpp/include/tier0/fasttimer.h:18: error: `int64' does not name a type
C:/Dev-Cpp/include/tier0/fasttimer.h:34: error: expected `)' before "cycles"
C:/Dev-Cpp/include/tier0/fasttimer.h:41: error: variable or field `Init' declared void
C:/Dev-Cpp/include/tier0/fasttimer.h:41: error: expected `;' before '(' token
C:/Dev-Cpp/include/tier0/fasttimer.h:47: error: `int64' does not name a type
C:/Dev-Cpp/include/tier0/fasttimer.h:50: error: `uint64' does not name a type
C:/Dev-Cpp/include/tier0/fasttimer.h:67: error: `int64' does not name a type
C:/Dev-Cpp/include/tier0/fasttimer.h:70: error: `int64' does not name a type
C:/Dev-Cpp/include/tier0/fasttimer.h: In static member function `static void CClockSpeedInit::Init()':
C:/Dev-Cpp/include/tier0/fasttimer.h:85: error: `g_ClockSpeed' undeclared (first use this function)
C:/Dev-Cpp/include/tier0/fasttimer.h:85: error: (Each undeclared identifier is reported only once for each function it appears in.)
C:/Dev-Cpp/include/tier0/fasttimer.h:85: error: 'const struct CPUInformation' has no member named 'm_Speed'
C:/Dev-Cpp/include/tier0/fasttimer.h: In constructor `CCycleCount::CCycleCount()':
C:/Dev-Cpp/include/tier0/fasttimer.h:243: error: `m_Int64' undeclared (first use this function)
C:/Dev-Cpp/include/tier0/fasttimer.h: At global scope:
C:/Dev-Cpp/include/tier0/fasttimer.h:246: error: expected `)' before "cycles"
C:/Dev-Cpp/include/tier0/fasttimer.h:246: error: expected `,' or `;' before "cycles"
C:/Dev-Cpp/include/tier0/fasttimer.h: In member function `void CCycleCount::Init()':
C:/Dev-Cpp/include/tier0/fasttimer.h:253: error: `m_Int64' undeclared (first use this function)
C:/Dev-Cpp/include/tier0/fasttimer.h: In member function `void CCycleCount::Init(float)':
C:/Dev-Cpp/include/tier0/fasttimer.h:259: error: `m_Int64' undeclared (first use this function)
C:/Dev-Cpp/include/tier0/fasttimer.h: At global scope:
C:/Dev-Cpp/include/tier0/fasttimer.h:264: error: variable or field `Init' declared void
C:/Dev-Cpp/include/tier0/fasttimer.h:264: error: `CCycleCount::Init' declared as an `inline' variable
C:/Dev-Cpp/include/tier0/fasttimer.h:264: error: `int CCycleCount::Init' is not a static member of `class CCycleCount'
C:/Dev-Cpp/include/tier0/fasttimer.h:264: error: `int64' was not declared in this scope
C:/Dev-Cpp/include/tier0/fasttimer.h:265: error: expected `,' or `;' before '{' token
C:/Dev-Cpp/include/tier0/fasttimer.h: In member function `void CCycleCount::Sample()':
C:/Dev-Cpp/include/tier0/fasttimer.h:271: error: `m_Int64' undeclared (first use this function)
C:/Dev-Cpp/include/tier0/fasttimer.h:274: error: expected `(' before '{' token
C:/Dev-Cpp/include/tier0/fasttimer.h:274: error: expected asm body before '{' token
C:/Dev-Cpp/include/tier0/fasttimer.h:280: error: `mov' undeclared (first use this function)
C:/Dev-Cpp/include/tier0/fasttimer.h:280: error: expected `;' before "ecx"
C:/Dev-Cpp/include/tier0/fasttimer.h: In member function `CCycleCount& CCycleCount::operator+=(const CCycleCount&)':
C:/Dev-Cpp/include/tier0/fasttimer.h:299: error: `m_Int64' undeclared (first use this function)
C:/Dev-Cpp/include/tier0/fasttimer.h:299: error: 'const class CCycleCount' has no member named 'm_Int64'
C:/Dev-Cpp/include/tier0/fasttimer.h: In static member function `static void CCycleCount::Add(const CCycleCount&, const CCycleCount&, CCycleCount&)':
C:/Dev-Cpp/include/tier0/fasttimer.h:306: error: 'class CCycleCount' has no member named 'm_Int64'
C:/Dev-Cpp/include/tier0/fasttimer.h:306: error: 'const class CCycleCount' has no member named 'm_Int64'
C:/Dev-Cpp/include/tier0/fasttimer.h:306: error: 'const class CCycleCount' has no member named 'm_Int64'
C:/Dev-Cpp/include/tier0/fasttimer.h: In static member function `static void CCycleCount::Sub(const CCycleCount&, const CCycleCount&, CCycleCount&)':
C:/Dev-Cpp/include/tier0/fasttimer.h:311: error: 'class CCycleCount' has no member named 'm_Int64'
C:/Dev-Cpp/include/tier0/fasttimer.h:311: error: 'const class CCycleCount' has no member named 'm_Int64'
C:/Dev-Cpp/include/tier0/fasttimer.h:311: error: 'const class CCycleCount' has no member named 'm_Int64'
C:/Dev-Cpp/include/tier0/fasttimer.h: At global scope:
C:/Dev-Cpp/include/tier0/fasttimer.h:314: error: `int64' does not name a type
C:/Dev-Cpp/include/tier0/fasttimer.h: In member function `bool CCycleCount::IsLessThan(const CCycleCount&) const':
C:/Dev-Cpp/include/tier0/fasttimer.h:323: error: `m_Int64' undeclared (first use this function)
C:/Dev-Cpp/include/tier0/fasttimer.h:323: error: 'const class CCycleCount' has no member named 'm_Int64'
C:/Dev-Cpp/include/tier0/fasttimer.h: In member function `long unsigned int CCycleCount::GetCycles() const':
C:/Dev-Cpp/include/tier0/fasttimer.h:329: error: `m_Int64' undeclared (first use this function)
C:/Dev-Cpp/include/tier0/fasttimer.h: At global scope:
C:/Dev-Cpp/include/tier0/fasttimer.h:332: error: `int64' does not name a type
C:/Dev-Cpp/include/tier0/fasttimer.h: In member function `long unsigned int CCycleCount::GetMicroseconds() const':
C:/Dev-Cpp/include/tier0/fasttimer.h:339: error: `m_Int64' undeclared (first use this function)
C:/Dev-Cpp/include/tier0/fasttimer.h:339: error: `g_ClockSpeed' undeclared (first use this function)
C:/Dev-Cpp/include/tier0/fasttimer.h: At global scope:
C:/Dev-Cpp/include/tier0/fasttimer.h:342: error: `uint64' does not name a type
C:/Dev-Cpp/include/tier0/fasttimer.h: In member function `double CCycleCount::GetMicrosecondsF() const':
C:/Dev-Cpp/include/tier0/fasttimer.h:350: error: `m_Int64' undeclared (first use this function)
C:/Dev-Cpp/include/tier0/fasttimer.h: In member function `void CCycleCount::SetMicroseconds(long unsigned int)':
C:/Dev-Cpp/include/tier0/fasttimer.h:356: error: `m_Int64' undeclared (first use this function)
C:/Dev-Cpp/include/tier0/fasttimer.h:356: error: `int64' undeclared (first use this function)
C:/Dev-Cpp/include/tier0/fasttimer.h:356: error: expected `)' before "nMicroseconds"
C:/Dev-Cpp/include/tier0/fasttimer.h: In member function `long unsigned int CCycleCount::GetMilliseconds() const':
C:/Dev-Cpp/include/tier0/fasttimer.h:362: error: `m_Int64' undeclared (first use this function)
C:/Dev-Cpp/include/tier0/fasttimer.h:362: error: `g_ClockSpeed' undeclared (first use this function)
C:/Dev-Cpp/include/tier0/fasttimer.h: In member function `double CCycleCount::GetMillisecondsF() const':
C:/Dev-Cpp/include/tier0/fasttimer.h:368: error: `m_Int64' undeclared (first use this function)
C:/Dev-Cpp/include/tier0/fasttimer.h: In member function `double CCycleCount::GetSeconds() const':
C:/Dev-Cpp/include/tier0/fasttimer.h:374: error: `m_Int64' undeclared (first use this function)
C:/Dev-Cpp/include/tier0/fasttimer.h: In member function `void CFastTimer::End()':
C:/Dev-Cpp/include/tier0/fasttimer.h:394: error: 'class CCycleCount' has no member named 'm_Int64'
C:/Dev-Cpp/include/tier0/fasttimer.h:394: error: 'class CCycleCount' has no member named 'm_Int64'
C:/Dev-Cpp/include/tier0/fasttimer.h:394: error: 'class CCycleCount' has no member named 'm_Int64'
C:/Dev-Cpp/include/tier0/fasttimer.h: In member function `CCycleCount CFastTimer::GetDurationInProgress() const':
C:/Dev-Cpp/include/tier0/fasttimer.h:406: error: 'class CCycleCount' has no member named 'm_Int64'
C:/Dev-Cpp/include/tier0/fasttimer.h:406: error: 'class CCycleCount' has no member named 'm_Int64'
C:/Dev-Cpp/include/tier0/fasttimer.h:406: error: 'const class CCycleCount' has no member named 'm_Int64'
C:/Dev-Cpp/include/tier0/fasttimer.h: At global scope:
C:/Dev-Cpp/include/tier0/fasttimer.h:494: error: variable or field `SetLimit' declared void
C:/Dev-Cpp/include/tier0/fasttimer.h:494: error: expected `;' before '(' token
C:/Dev-Cpp/include/tier0/fasttimer.h:498: error: `int64' does not name a type
C:/Dev-Cpp/include/tier0/fasttimer.h:506: error: variable or field `SetLimit' declared void
C:/Dev-Cpp/include/tier0/fasttimer.h:506: error: `CLimitTimer::SetLimit' declared as an `inline' variable
C:/Dev-Cpp/include/tier0/fasttimer.h:506: error: `int CLimitTimer::SetLimit' is not a static member of `class CLimitTimer'
C:/Dev-Cpp/include/tier0/fasttimer.h:506: error: `uint64' was not declared in this scope
C:/Dev-Cpp/include/tier0/fasttimer.h:507: error: expected `,' or `;' before '{' token
C:/Dev-Cpp/include/tier0/fasttimer.h: In member function `bool CLimitTimer::BLimitReached()':
C:/Dev-Cpp/include/tier0/fasttimer.h:523: error: 'class CCycleCount' has no member named 'GetLongCycles'
C:/Dev-Cpp/include/tier0/fasttimer.h:523: error: `m_lCycleLimit' undeclared (first use this function)
E:/caza/jogos/Sierra/steam/SteamApps/SourceMods/src/utils/serverplugin_sample/serverplugin_bot.cpp:15:24: filesystem.h: No such file or directory
In file included from C:/Dev-Cpp/include/tier0/basetypes.h:11,
from C:/Dev-Cpp/include/tier0/dbg.h:17,
from C:/Dev-Cpp/include/convar.h:18,
from C:/Dev-Cpp/include/eiface.h:16,
from E:/caza/jogos/Sierra/steam/SteamApps/SourceMods/src/utils/serverplugin_sample/serverplugin_bot.cpp:19:
C:/Dev-Cpp/include/tier0/commonmacros.h:40:26: warning: no newline at end of file
C:/Dev-Cpp/include/tier0/dbg.h:19: confused by earlier errors, bailing out
make.exe: *** [E:/caza/jogos/Sierra/steam/SteamApps/SourceMods/src/utils/serverplugin_sample/serverplugin_bot.o] Error 1
Execução terminada
__________________