Article View: borland.public.cppbuilder.migration
Article #86How to detect compiler versions in code?
From: Dean Mills
Date: Thu, 07 Apr 2005 21:30
Date: Thu, 07 Apr 2005 21:30
8 lines
1191 bytes
1191 bytes
Hi all, This used to be a FAQ item on bcbdev.com but since it's apparently gone, does anyone know what the macro used by the compiler is, so I can wrap some BCB 3 specific code with an #ifdef and let the BCB v5 and v6 compilers compile it? TIA! D.Mills
Technical Details
Message-ID:
<4255a60e$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 110f51,691af961aeb422f5,start X-Google-Attributes: gid110f51,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Dean Mills" <Dean.NoSpam@total-care.com> From: "Dean Mills" <Dean.NoSpam@total-care.com> Newsgroups: borland.public.cppbuilder.migration Subject: How to detect compiler versions in code? Date: Thu, 7 Apr 2005 14:30:23 -0700 Lines: 10 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 NNTP-Posting-Host: 209.52.113.225 Message-ID: <4255a60e$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1112909326 209.52.113.225 (7 Apr 2005 14:28:46 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail