http://bugzilla.novell.com/show_bug.cgi?id=631282
http://bugzilla.novell.com/show_bug.cgi?id=631282#c0 Summary: Change the pointer value like "pointer2 += 10;" for structure. Classification: Mono Product: Mono: Compilers Version: 2.6.x Platform: x86 URL: http://www.neoaxisgroup.com OS/Version: Mac OS X 10.6 Status: NEW Severity: Major Priority: P5 - None Component: C# AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: Development Blocker: --- Created an attachment (id=383009) --> (http://bugzilla.novell.com/attachment.cgi?id=383009) Example code. Hello, We got the bug with pointers on latest Mono compiler on MacOSX. I will show simple example: ---- struct MyStructure { int q; int z; int a; } MyStructure* pointer2 = ...; pointer2 += 10; ---- On the Mac this works like: pointer2++; This increase only 12 bytes (size of structure). Need 120 bytes. if make "pointer2 += 20", then increased 12 bytes too. See attached file for compilable source. -- Configure bugmail: http://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. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
