delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-bounces using -f |
From: | "Jesper Lund" <jl1204 AT worldonline DOT dk> |
Newsgroups: | comp.os.msdos.djgpp |
References: | <3C4A0122 DOT 52A26975 AT qwest DOT net> |
Subject: | Re: Errors. streambuf.h (I don't think it's my code)... |
Lines: | 26 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 5.50.4807.1700 |
X-MIMEOLE: | Produced By Microsoft MimeOLE V5.50.4807.1700 |
Message-ID: | <ROo28.1862$Eu2.294212@news010.worldonline.dk> |
Date: | Sun, 20 Jan 2002 02:10:35 +0100 |
NNTP-Posting-Host: | 213.237.0.226 |
X-Complaints-To: | news-abuse AT wol DOT dk |
X-Trace: | news010.worldonline.dk 1011489073 213.237.0.226 (Sun, 20 Jan 2002 02:11:13 MET) |
NNTP-Posting-Date: | Sun, 20 Jan 2002 02:11:13 MET |
Organization: | Customer of Tiscali A/S (World Online) |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
"diritol" <diritolx AT qwest DOT net> wrote: > 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 <iostream.h>. Why > is this happening? How can I fix it? I'm still a newbie, so > please keep that in mind when replying.. :) > Are you, by any chance, including one of your own header files in cbitmapclass.cpp before iostream.h in line 6? If so, my guess is that you have an error in one of those header files, such as a missing }, a missing semicolon to end a class definition, or a missing #endif to match a #ifndef. Something like this could generate an error like the one you see.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |