EmbLogic's Blog

CVS…..

#include<stdio.h>
#include<string.h>

static char *RCSinfo = “$id$”;
vprintf(“RSC control: %s\n”,RCSinfo);
int main()
{
printf(“hello”);
return 0;

}
errors:

MACROS.c:5:9: error: expected declaration specifiers or ‘…’ before string constant
MACROS.c:5:29: error: expected declaration specifiers or ‘…’ before ‘RCSinfo’
make: *** [MACROS] Error 1

cn any1 help wid these errors….????

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>