.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Releases, Installers, Docs & Coding (http://forums.bots-united.com/forumdisplay.php?f=48)
-   -   Compiling in VS2008 Express (http://forums.bots-united.com/showthread.php?t=9080)

sparky99 17-08-2012 11:35

Compiling in VS2008 Express
 
I recently compiled your bot in VS2008 Express, it works and they spawn and everything is just fine. But I get a couple of Errors in the compile log that I would like to understand and GO_AWAY.

Ta

1>c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\stddef.h(54) : warning C4005: 'offsetof' : macro redefinition
1> C:\PROJECTS\Podbot-mm\HLSDK\engine\eiface.h(422) : see previous definition of 'offsetof'


Please could somebody help. Ta

sparky99 20-08-2012 23:36

Re: Compiling in VS2008 Express
 
Added/changed

#include <stdio.h>
#include "stddef.h"
#include "custom.h"
#include "cvardef.h"
#include "Sequence.h"

to eiface.h

and it went away.

Now Compiles without error.


All times are GMT +2. The time now is 08:17.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.