Skip to main content
GameDev.net gamedev.net
🔒 Locked

struct' type redefinition

Started by kingy Aug 7, 2001 at 9:55 AM 2 replies 350+ views
Original Post
kingy
kingy
Can anyone explain why this gives me the above error [this uses direct x 7 and the wav read file , in the media sample for playing wav files]: #define STRICT #include "stdafx.h" #include #include #include #include #include "WavRead.h"
“If you try and please everyone, you won’t please anyone.”
Clash Rocker
Clash Rocker
I think you might have to do better then that.
Um one of those header files might have a struct def already defed in another header...
header one:
  
struct
{
int m_iFoo;
}FOO;

header two:
  
struct
{
int m_iFoo;
}FOO;

Get what I mean?
Be more detailed about your problems.

Edited by - Clash Rocker on August 7, 2001 2:12:59 PM
kingy
kingy
What the hell happened to the message I posted - half the include files have vanished from it!!

“If you try and please everyone, you won’t please anyone.”
jacksonh
jacksonh
It thinks things inside of the "<>" are html tags, so they don''t display properly. Post some more info and we can propably help you out....or just try searching for the struct definitions in the header files.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.