|
From: vikaskulai <vik...@in...> - 2004-03-31 04:12:36
|
hi.
Iam facing a strange problem.
If i open a C file and compile it, it compiles on the Ist try. if i then make any changes and recompile, then it will not compile and I get 31 errors such as
n file included from C:\DEV-C_~1\Include\G__~1\iostream.h:31,
from c:\docume~1\kulai\mydocu~1\progs\test1.c:1:
C:\DEV-C_~1\Include\G__~1\streambuf.h:35: parse error before string constant
In file included from C:\DEV-C_~1\Include\G__~1\iostream.h:31,
from c:\docume~1\kulai\mydocu~1\progs\test1.c:1:
C:\DEV-C_~1\Include\G__~1\streambuf.h:37: parse error before `}'
C:\DEV-C_~1\Include\G__~1\streambuf.h:67: warning: data definition has no type or storage class
C:\DEV-C_~1\Include\G__~1\streambuf.h:67: parse error before `streambuf'
C:\DEV-C_~1\Include\G__~1\streambuf.h:67: warning: data definition has no type or storage class
C:\DEV-C_~1\Include\G__~1\streambuf.h:87: parse error before `streambuf'
C:\DEV-C_~1\Include\G__~1\streambuf.h:87: warning: no semicolon at end of struct or union
C:\DEV-C_~1\Include\G__~1\streambuf.h:88: warning: data definition has no type or storage class
C:\DEV-C_~1\Include\G__~1\streambuf.h:97: parse error before `}'
C:\DEV-C_~1\Include\G__~1\streambuf.h:126: parse error before `ios'
C:\DEV-C_~1\Include\G__~1\streambuf.h:128: parse error before `&'
C:\DEV-C_~1\Include\G__~1\streambuf.h:128: warning: data definition has no type or storage class
C:\DEV-C_~1\Include\G__~1\streambuf.h:129: parse error before `:'
C:\DEV-C_~1\Include\G__~1\streambuf.h:133: redefinition of `streamsize'
C:\DEV-C_~1\Include\G__~1\streambuf.h:80: `streamsize' previously declared here
C:\DEV-C_~1\Include\G__~1\streambuf.h:179: parse error before `*'
C:\DEV-C_~1\Include\G__~1\streambuf.h: In function `tie':
C:\DEV-C_~1\Include\G__~1\streambuf.h:179: parse error before `{'
and similar.
i have included the include,lib directories properly.
right now, i have to close and reopen the C file to compile it again.
thanks in advance
vikas
Indiatimes Email now powered by APIC Advantage. Help!
HelpClick on the image to chat with me
|