🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #10853

Re: What Constants can be used to determine the Compiler Environment?

#10853
From: Simon Macneall
Date: Thu, 11 Mar 2004 02:30
17 lines
1465 bytes
PC Hua <home-AT-huaonline.DOT.com> wrote in 
news:opr4oaeokwpmxkmr@newsgroups.borland.com:

> 
> What BCB constants can I use?
> Do I have to limit it for BCB5 only or can I use constants for BCB in 
> general?
> Any advice in compatibily between versions in BCB?
> 
Check out Predefined Macros in the Borland help. __BORLANDC__ is defined to 
be the version of the borland compiler you are using. 0x0560 is for BCB6, 
don't know the rest of the numbers. As to compatibility, BCB6 uses a 
different STL by default to BCB5, which means that things are in different 
headers and namespaces than they used to be.

hth
Simon
Technical Details
Message-ID: <Xns94A96B04A772Amacnealliinetnetau@207.105.83.66>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <opr4oaeokwpmxkmr@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,a6b61fb03832c614
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-03-10 18:40:11 PST
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: What Constants can be used to determine the Compiler Environment?
From: Simon Macneall <macneall-at-iinet.net.au>
References: <opr4oaeokwpmxkmr@newsgroups.borland.com>
Message-ID: <Xns94A96B04A772Amacnealliinetnetau@207.105.83.66>
User-Agent: Xnews/06.08.25
NNTP-Posting-Host: 203.153.243.50
Date: 10 Mar 2004 18:30:58 -0800
X-Trace: newsgroups.borland.com 1078972258 203.153.243.50 (10 Mar 2004 18:30:58 -0800)
Lines: 17
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail