Recently started getting back into RvS again, I got all my headers and libraries linked. And i seem to get a error with my UnPrim.h, wich is a core header.
Here's the error i am getting:
Code:
------ Build started: Project: Krystal, Configuration: Release Win32 ------
Compiling...
stdafx.cpp
c:\documents and settings\johan schrijver\bureaublad\krystal\ut432\core\inc\UnMem.h(44) : warning C4311: 'type cast' : pointer truncation from 'BYTE *' to 'INT'
c:\documents and settings\johan schrijver\bureaublad\krystal\ut432\core\inc\UnMem.h(44) : warning C4312: 'type cast' : conversion from 'int' to 'BYTE *' of greater size
c:\documents and settings\johan schrijver\bureaublad\krystal\ut432\core\inc\UnMem.h(52) : warning C4311: 'type cast' : pointer truncation from 'BYTE *' to 'INT'
c:\documents and settings\johan schrijver\bureaublad\krystal\ut432\core\inc\UnMem.h(52) : warning C4312: 'type cast' : conversion from 'int' to 'BYTE *' of greater size
c:\documents and settings\johan schrijver\bureaublad\krystal\ut432\core\inc\UnMem.h(134) : warning C4267: 'argument' : conversion from 'size_t' to 'INT', possible loss of data
c:\documents and settings\johan schrijver\bureaublad\krystal\ut432\core\inc\UnMem.h(141) : warning C4267: 'argument' : conversion from 'size_t' to 'INT', possible loss of data
c:\documents and settings\johan schrijver\bureaublad\krystal\ut432\core\inc\UnMem.h(142) : warning C4267: 'argument' : conversion from 'size_t' to 'INT', possible loss of data
c:\documents and settings\johan schrijver\bureaublad\krystal\ut432\core\inc\UnMem.h(150) : warning C4267: 'argument' : conversion from 'size_t' to 'INT', possible loss of data
c:\documents and settings\johan schrijver\bureaublad\krystal\ut432\core\inc\UnMem.h(151) : warning C4267: 'argument' : conversion from 'size_t' to 'INT', possible loss of data
c:\documents and settings\johan schrijver\bureaublad\krystal\ut432\core\inc\UnPrim.h(121) : error C2470: 'UPrimitive' : looks like a function definition, but there is no parameter list; skipping apparent body
Build log was saved at "file://c:\Documents and Settings\Johan Schrijver\Bureaublad\Krystal\Krystal\Release\BuildLog.htm"
Krystal - 1 error(s), 9 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I use Visual C++ 2005 Express Edition, i haven't made a bot just yet. I was including core headers into my own project to see if my stuff was setup correctly.
I hope someone can help me
Bookmarks