X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f Message-ID: <3C4A0122.52A26975@qwest.net> From: diritol X-Mailer: Mozilla 4.75 [en]C-CCK-MCD (Qwest.net) (Win95; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Errors. streambuf.h (I don't think it's my code)... Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 29 Date: Sat, 19 Jan 2002 16:28:34 -0700 NNTP-Posting-Host: 65.100.198.38 X-Trace: news.uswest.net 1011482948 65.100.198.38 (Sat, 19 Jan 2002 17:29:08 CST) NNTP-Posting-Date: Sat, 19 Jan 2002 17:29:08 CST To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I have no idea why I'm getting this error. I compiled my project a few days ago and everything worked fine. The only changes I made involved the deletion of some class-functions, which aren't even used in my program (yet)... Anyway, I have a file called cbitmapclass.cpp, it contains all the function-definitions of my cBITMAP class, which is declared in cbitmapclass.h. When I try to compile this into an .o file like this: gxx -c cbitmapclass.cpp I get these errors: In file included from c:/djgpp/lang/cxx/iostream.h:31, from cbitmapclass.cpp:6: c:/djgpp/lang/cxx/streambuf.h:35: syntax error before string constant In file included from c:/djgpp/lang/cxx/iostream.h:31, from cbitmapclass.cpp:6: c:/djgpp/lang/cxx/streambuf.h:37: parse error before '}' This file [cbitmapclass.cpp] compiled earlier. The only thing on line 6 of my cbitmapclass.cpp file is #include . Why is this happening? How can I fix it? I'm still a newbie, so please keep that in mind when replying.. :) Thanks a lot...