[Mono-bugs] [Bug 348076] New: gmcs chokes on fixed buffers (sometimes...)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Dec 12 09:09:26 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=348076


           Summary: gmcs chokes on fixed buffers (sometimes...)
           Product: Mono: Compilers
           Version: 1.2.6
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: dans at houmus.org
         QAContact: mono-bugs at ximian.com
          Found By: Third Party Developer/Partner


Created an attachment (id=187232)
 --> (https://bugzilla.novell.com/attachment.cgi?id=187232)
the bug

Description of Problem:
gmcs chokes on constructs that otherwise compile on MS .NET.

Steps to reproduce the problem:
1. Try to compile like so...:

gmcs a.cs /unsafe /out:a.dll /target:library /unsafe+
/reference:/usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll


Actual Results:
a.cs(18,15): error CS1708: Fixed size buffers can only be accessed through
locals or fields
a.cs(19,15): error CS1708: Fixed size buffers can only be accessed through
locals or fields
a.cs(20,15): error CS1708: Fixed size buffers can only be accessed through
locals or fields
a.cs(21,15): error CS1708: Fixed size buffers can only be accessed through
locals or fields
a.cs(22,15): error CS1708: Fixed size buffers can only be accessed through
locals or fields
Compilation failed: 5 error(s), 0 warnings


Expected Results:
Clean compile

How often does this happen? 
Every frikin time


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list