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++ / March 2006

Tip: Looking for answers? Try searching our database.

BUG: pin_ptr causes compiler crash

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nobody - 03 Mar 2006 17:58 GMT
I posted this bug to MS, but was wondering if someone else could try
inserting the following into a C++/cli project and seeing if it causes the
compiler to barf:

array<float,2>^ fMatrix = gcnew array<float,2>(4,4);
pin_ptr<float> pf = &(fMatrix[0,0]);

It seems to work for int types but not for float and double.
Bruno van Dooren - 03 Mar 2006 18:17 GMT
> I posted this bug to MS, but was wondering if someone else could try
> inserting the following into a C++/cli project and seeing if it causes the
> compiler to barf:
>
> array<float,2>^ fMatrix = gcnew array<float,2>(4,4);
> pin_ptr<float> pf = &(fMatrix[0,0]);

It killed the compiler allright.
Wooden stake right through the heart :-)

Create a bug report on
http://lab.msdn.microsoft.com/productfeedback

then post the link so that we can validate and vote for it.

Signature

Kind regards,
   Bruno.
   bruno_nos_pam_van_dooren@hotmail.com
   Remove only "_nos_pam"

Nobody - 03 Mar 2006 19:16 GMT
Thanks, Bruno, I appreciate it:

Here's the tinyurl link:

http://tinyurl.com/kblxs

Full URL:

http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackid=d7110
83f-a944-470f-ae51-921f685ee8b9


>> I posted this bug to MS, but was wondering if someone else could try
>> inserting the following into a C++/cli project and seeing if it causes
[quoted text clipped - 10 lines]
>
> then post the link so that we can validate and vote for it.
Bruno van Dooren - 03 Mar 2006 20:15 GMT
> Full URL:
>
> http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackid=d7110
83f-a944-470f-ae51-921f685ee8b9

validated and voted for.

Signature

Kind regards,
   Bruno.
   bruno_nos_pam_van_dooren@hotmail.com
   Remove only "_nos_pam"


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.