🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ILINK32 Error: _GetDiagGroupDef()

#485
From: Darko Miletic
Date: Fri, 14 Mar 2008 15:12
25 lines
1957 bytes
Ed Mulroy [TeamB] wrote:
> That is a puzzle.
> 
> I did a  grep -d  on all files in the [Compiler Base Dir]\include directory 
> tree.  No GetDiagGroupDef was found anywhere in BCB6 or BDS2007.  What 
> header file is that in?
> 
> ..  Ed
> 

It is located in checks.h, declared as macro DECLARE_DIAG_GROUP

#define DECLARE_DIAG_GROUP(g, qual) TDiagGroup & qual _GetDiagGroup##g()

#define DIAG_DECLARE_GROUP(g)  DECLARE_DIAG_GROUP(g,DIAG_IMPORT);
#define DIAG_DEFINE_GROUP(g, e, l) \
     DECLARE_DIAG_GROUP(g, DIAG_EXPORT); \
     TDiagGroup &_GetDiagGroup##g() \
     { \
         static TDiagGroup dg(e, l, #g); \
         return dg; \
     } \

Other part of the code is in
<BDS root>\source\cpprtl\Source\misc\checks.cpp
Technical Details
Message-ID: <47da95fe$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <47da54c9$2@newsgroups.borland.com> <47da75db$1@newsgroups.borland.com> <47da8b6d$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,9bdf193cbb3a24d
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Fri, 14 Mar 2008 13:12:48 -0200
From: Darko Miletic <kiklop@fibertel.com.ar>
Reply-To: Darko Miletic <kiklop@fibertel.com.ar>
User-Agent: Thunderbird 2.0.0.12 (Windows/20080213)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: ILINK32 Error: _GetDiagGroupDef()
References: <47da54c9$2@newsgroups.borland.com> <47da75db$1@newsgroups.borland.com> <47da8b6d$1@newsgroups.borland.com>
In-Reply-To: <47da8b6d$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Antivirus: avast! (VPS 080313-0, 13/03/2008), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 200.49.157.165
Message-ID: <47da95fe$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1205507582 200.49.157.165 (14 Mar 2008 08:13:02 -0700)
Lines: 25
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
X-Original-Bytes: 1808