View Single Post
  #1  
Old 01-07-2004, 09:55 AM
Shadow-Wolf
Dragon
 
Join Date: Oct 2003
Posts: 511
Default Compiler problems

before i was going to add changes to the source for my server i wanted to try and compile it. when i tryed to compile EMuShareMeM i get this error when it compiles mmf.h

3 C:\EQEmu-0.5.2-Source\EMuShareMem\MMF.h
In file included from MMF.h
1 C:\EQEmu-0.5.2-Source\EMuShareMem\MMF.cpp
from MMF.cpp
18 C:\EQEmu-0.5.2-Source\common\types.h:40
#error __int64 not supported
MMF.cpp C:\EQEmu-0.5.2-Source\EMuShareMem\MMF.cpp
In member function `bool MMF::Open(const char*, unsigned int)':
77 C:\EQEmu-0.5.2-Source\EMuShareMem\MMF.cpp
`__try' undeclared (first use this function)
(Each undeclared identifier is reported only once for each function
77 C:\EQEmu-0.5.2-Source\EMuShareMem\MMF.cpp
parse error before `{' token
MMF.cpp C:\EQEmu-0.5.2-Source\EMuShareMem\MMF.cpp
At global scope:
126 C:\EQEmu-0.5.2-Source\EMuShareMem\MMF.cpp
syntax error before `{' token
130 C:\EQEmu-0.5.2-Source\EMuShareMem\MMF.cpp
ISO C++ forbids declaration of `Close' with no type
131 C:\EQEmu-0.5.2-Source\EMuShareMem\MMF.cpp
parse error before `return'
134 C:\EQEmu-0.5.2-Source\EMuShareMem\MMF.cpp
`hMutex' was not declared in this scope
134 C:\EQEmu-0.5.2-Source\EMuShareMem\MMF.cpp
ISO C++ forbids declaration of `CloseHandle' with no type
134 C:\EQEmu-0.5.2-Source\EMuShareMem\MMF.cpp
`int CloseHandle' redeclared as different kind of symbol
988 C:\Dev-Cpp\include\winbase.h
previous declaration of `BOOL
136 C:\EQEmu-0.5.2-Source\EMuShareMem\MMF.cpp
parse error before `return'
MMF.cpp C:\EQEmu-0.5.2-Source\EMuShareMem\MMF.cpp
In member function `void MMF::Close()':
308 C:\EQEmu-0.5.2-Source\EMuShareMem\MMF.cpp
`CloseHandle' cannot be used as a function
C:\EQEmu-0.5.2-Source\EMuShareMem\Makefile.win
[Build Error] [MMF.o] Error 1


I am using Dev-C++ might that be a problem?
Reply With Quote