bugDotGNU Portable.NET - Bugs: bug #4743, cscc - bogus "excess elements...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #4743: cscc - bogus "excess elements in XXX initalizer" error

Submitter:  Mario D. Santana <santana>
Submitted:  Thu 14 Aug 2003 05:53:27 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Thu 17 Mar 2005 09:29:31 AM UTC, comment #2: 

Bug no longer valid when compiled against the latest CVS build.  Closing.



fixed in cvs

Deryk Robosson <drobosson>
Group Member
Sat 23 Aug 2003 06:09:56 AM UTC, comment #1: 

I just realized I didn't post the full error in the original submission.  It is:
this.c:12: warning: excess elements in scalar initializer
this.c:14: warning: excess elements in array initializer
<Module>::main [20A0] - ldflda at verify_obj.c:501
Uncaught exception: System.Security.VerificationException: Could not verify the code
at <Module>..start(String[])

HTH

Mario D. Santana <santana>
Thu 14 Aug 2003 05:53:27 AM UTC, original submission:  

When using initializers for struct variables, cscc reports an error when gcc happily compiles.  The attached test case gives warnings with cscc, though it creates output.  ilrun, however gives the following error on the output of cscc:
  Uncaught exception: System.Security.VerificationException: Could not verify the code
at <Module>..start(String[])

Mario D. Santana <santana>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #603:  this.c added by santana (379B - text/plain - test case with initialized struct variables)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-03-17 drobosson StatusNone Fixed
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code