Article View: borland.public.cppbuilder.nativeapi
Article #487Re: ILINK32 Error: _GetDiagGroupDef()
From: Ed Mulroy [TeamB]
Date: Fri, 14 Mar 2008 19:53
Date: Fri, 14 Mar 2008 19:53
26 lines
1890 bytes
1890 bytes
Thanks.
I missed it because it doesn't have a regular function prototype in the
headers but is assembled with a string pasting macro so grep couldn't find
it.
. Ed
> Darko Miletic wrote in message
> news:47da95fe$1@newsgroups.borland.com...
>
> 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:
<47dad7c1$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!eweka.nl!lightspeed.eweka.nl!194.134.4.77.MISMATCH!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<47da54c9$2@newsgroups.borland.com> <47da75db$1@newsgroups.borland.com> <47da8b6d$1@newsgroups.borland.com> <47da95fe$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 From: "Ed Mulroy [TeamB]" <dont_email_me@bitbuc.ket> Newsgroups: borland.public.cppbuilder.nativeapi References: <47da54c9$2@newsgroups.borland.com> <47da75db$1@newsgroups.borland.com> <47da8b6d$1@newsgroups.borland.com> <47da95fe$1@newsgroups.borland.com> Subject: Re: ILINK32 Error: _GetDiagGroupDef() Date: Fri, 14 Mar 2008 15:53:33 -0400 Lines: 28 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 71.77.48.179 Message-ID: <47dad7c1$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1205524417 71.77.48.179 (14 Mar 2008 12:53:37 -0700) X-Authenticated-User: edmulroy Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!eweka.nl!lightspeed.eweka.nl!194.134.4.77.MISMATCH!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail