X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f Message-ID: <20020225164625.3900.qmail@web20808.mail.yahoo.com> Date: Mon, 25 Feb 2002 17:46:25 +0100 (CET) From: =?iso-8859-1?q?cesar=20tejeda?= Subject: Re: STL-vector suddenly doesn't work To: djgpp AT delorie DOT com In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk I had a symilar problem and using the older header instead of '' worked. I didn't expect documentation about STL in gcc info docs! Greetings. --- Hans-Bernhard Broeker escribió: > jansb000 wrote: > > In a project (under RHIDE) I want to re-build the > code after a while not > > looking into it. I suddenly get the error message: > "vector used as a type > > but not defined as type". The code where I get > this message looks like this: > > > #include > > vector ivec; // - - - causes error > > > The program used to compile fine in the past. I > recently upgraded RHIDE to > > 1.4.9 - there are no other changes. I use GCC > 3.0.3. > > What am I doing wrong? > > You're not reading enough of the docs of the very > new GCC you're now > using, and which quite certainly didn't exist yet > when you last looked > into that project of yours. > > Your program is assuming a now outdated dialect of > pre-Standard > C++. GCC 3 doesn't support that anymore. > -- > Hans-Bernhard Broeker > (broeker AT physik DOT rwth-aachen DOT de) > Even if all the snow were burnt, ashes would remain. _______________________________________________________________ Do You Yahoo!? Yahoo! Messenger Comunicación instantánea gratis con tu gente. http://messenger.yahoo.es