🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.migration
2 messages
2 total messages Started by Dean Mills Thu, 07 Apr 2005 21:30
How to detect compiler versions in code?
#86
Author: Dean Mills
Date: Thu, 07 Apr 2005 21:30
8 lines
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
Re: How to detect compiler versions in code?
#87
Author: Remy Lebeau (TeamB)
Date: Thu, 07 Apr 2005 22:25
17 lines
1400 bytes
"Dean Mills" <Dean.NoSpam@total-care.com> wrote in message
news:4255a60e$1@newsgroups.borland.com...


> This used to be a FAQ item on bcbdev.com but since it's apparently gone,

http://web.archive.org/web/20041113091928/http://www.bcbdev.com/

http://web.archive.org/web/20031013040620/www.bcbdev.com/faqs/faq93.htm

> does anyone know what the macro used by the compiler is

__BORLANDC__


Gambit
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads