View Single Post
  #1   Spotlight this post!  
Unread 19-02-2006, 22:24
pbhead pbhead is offline
Registered User
FTC #1123
 
Join Date: Feb 2006
Location: below tin. next to bismuth.
Posts: 36
pbhead is just really nicepbhead is just really nicepbhead is just really nicepbhead is just really nicepbhead is just really nice
syntax error in code that i have never even seen before: HELP!

so... i was working with my code... and i try to compile it again... the same way i have for about 50 times now, when suddenly a syntax error apperes. no problem right? it is probley a missing semicolon or something, except it appered in some wacked section of the code i didnt even know EXisted! Me = CONFUSED!



tryied fixing it, but came up with nothing... tryied cutting and pasting from defalt code, still nothing....

HELP!

here is the magical code of doom(all of it, the entire page) ( i founded it in C:mcc18\h\stdarg.h):
Quote:
/* $Id: stdarg.h,v 1.2 2004/08/04 18:46:23 GrosbaJ Exp $*/

#ifndef __STDARG_H
#define __STDARG_H

(says syntax error on this line) typedef void* va_list;
#define va_start(ap,1) {(ap)=(void*)((char*)&(1));}
#define va_end(ap)
#define va_arg(ap,t) (*((t*)((ap)=((t*)ap)-1)))
#define va_copy(dst, src) ((dst) = (src))
#endif
help?

the dead line is in 2 days!! ack!!!!!!

and my code is having problems after it was working fine! (but wasnot done)

Last edited by pbhead : 19-02-2006 at 22:30.