Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 error C2513 ,error C2371

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
gyan135 Posted - Dec 13 2006 : 08:27:27 AM
hi,
I am getting compile time error in this program i try a LOT but not get perfact result .Please any one give me the direction for resolving these error.

unsigned long int x;
#define p s((x))


typedef struct m {
int m_i;

}p;m;


typedef struct d {
int m_i;

}p;d;


int _tmain(int argc, _TCHAR* argv[])
{
return 0;
}


:error C2513: 'm' : no variable declared before '='
: error C2371: 's' : redefinition; different basic types
: error C2513: 'd' : no variable declared before '='

thanks for giving consideration..
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Dec 13 2006 : 09:07:12 AM
I am not sure what you are trying to do here. You have used "p" twice, which is not going to help. I would also remove "m;" and "d;" and also the #define line, since it is not doing anything helpful in this example.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000