Archived

This topic is now archived and is closed to further replies.

Ahnab

The return of probs with Q2 & VC++

Recommended Posts

Hi! I had previously posted a plea for help that I get a warped-out warning when I compile the Q2 source in order to make a gamex86.dll....despite NOT having modified ANY of the source files in any way! The warning I get is:- D:\Games\Quake 2\Source\game\p_weapon.c(976) : warning C4700: local variable ''start'' used without having been initialized I got a couple of replys from Muzzafereth & Mezz, but (with ALL due respect to these two guys) they werent any help. So, here I''m, back to square one. Lemm restate the crap I''m stuck in: I downlaoded the Q2 source files from id''s site. And when I compile ''em to make a new DLL, I get the above-mentioned warning. Now, I know what the warning means and that I shouldn''t be getting ANY errors/warnings at all! So, WHAT THE FUCK IS GOING ON!? BTW, I''m using VC++ 6.0 Professional Edition.

Share this post


Link to post
Share on other sites
First of all, you can ignore that warning. It won''t cause any problems since "start" is intialized later on. If you do want to fix it, then just look above that line and find where vec3_t start is defined. Then change it to vec3_t start = {0,0,0};

In all honesty, i''d recommend you learn C before trying to build DLLs. The problem you are getting is extremely basic and you''ll be lost again and having to ask for help very quickly.

Share this post


Link to post
Share on other sites