🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.deployment
Article #73

Re: Cannot Compile Existing Project

#73
From: Thomas Maeder [TeamB]
Date: Sat, 07 Apr 2007 06:31
20 lines
1676 bytes
"John Kolvereid" <odin@op.net> writes:

> I am trying to get a project written in Borland C++ Builder 
> v6 to work on my Developer Studio 2006 evaluation copy (before I spring 
> for the license). To date, I have been unable to compile. My major 
> roadblock is when it chokes because it is "Unable to open include file 
> 'assert'" This is specified in the source file as:
> #include <assert>
> which is correct.

Which is wrong! There is no Standard header <assert> in either C or
C++.

Either do it the C way:

#include <assert.h>

or the C++ way:

#include <cassert>
Technical Details
Message-ID: <m24pnshf0h.fsf@glue.ch>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <461568ed$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: f8e54,88771e9e94c8f566
X-Google-Attributes: gidf8e54,public
X-Google-Language: ENGLISH,ASCII-7-bit
Newsgroups: borland.public.cppbuilder.deployment
Subject: Re: Cannot Compile Existing Project
References: <461568ed$1@newsgroups.borland.com>
From: maeder@glue.ch (Thomas Maeder [TeamB])
Organization: TeamB
X-Face: ":yn4zt^A_dn>6~{YJmu^B\'4w)e:apPM\VC=Dvf&*tASxX9|BYczkFd$xr.$vNSZ[3Uobr p]c4\+\l){!WQI.$]veP({HLd;CDYH?iN
Date: Sat, 07 Apr 2007 08:31:26 +0200
Message-ID: <m24pnshf0h.fsf@glue.ch>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux)
Cancel-Lock: sha1:SfCHsAuMX8+iWGDISvEdGf/N6Vo=
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
NNTP-Posting-Host: 84.73.227.225
X-Trace: newsgroups.borland.com 1175927506 84.73.227.225 (6 Apr 2007 23:31:46 -0800)
Lines: 20
X-Authenticated-User: tmaeder
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail