Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / November 2004

Tip: Looking for answers? Try searching our database.

Need local suppression of debug info

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jonathan Turkanis - 24 Nov 2004 23:48 GMT
Dear All,

My latest library leads to a lot of internal errors and compiler limit errors
(C1001, C1055, C1067) when compiled on VC7.1 with /Zi or /ZI. The library
compiles on GCC 3.4.1, Comeau 4.3.3 and Intel 8.0, and with fewer errors on
VC8.0 beta, so I don't think the errors reflect non-conformance with the C++
standard.

I've found I can eliminate most of the errors by surrounding the declarations
with

 #pragma component(mintypeinfo, on)
 ...
 #pragma component(mintypeinfo, off)

but this is not ideal, since much of the code is generated by user level macros,
and pragmas cannot be generated by macros.

What I really need is _Pragma, which I know is not available. Is there an
attribute I can specify with __declspec which will have the effect of
suppressing debug info?

Best Regards,
Jonathan
Jonathan Turkanis - 25 Nov 2004 05:28 GMT
Hi,
   I see no one has responded to my query about locally suppressing debug info
without using a pragma. I realize I posted on the day before the US Thanksgiving
holiday, so perhaps readership of this list is down a bit. However, I'm inclined
to believe that it is not possible.

   If anyone knows that it is *definitely* not possible, please let me know.

Best Regards,
Jonathan

> Dear All,
>
[quoted text clipped - 20 lines]
> Best Regards,
> Jonathan

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.