bugDotGNU Portable.NET - Bugs: bug #11109, PnetC: Array data that is declared...

 
 

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

bug #11109: PnetC: Array data that is declared first, then initialized is errored as duplicate declared

Submitter:  James Michael DuPont <mdupont>
Submitted:  Mon 22 Nov 2004 09:52:13 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Mon 22 Nov 2004 09:52:13 PM UTC, original submission:  

Yes, I will be working on patches for these bugs, but first I will report them, then follow up with patches. I have found a bunch of attribute issues that are not handled yet, but have not even bothered to report them.

Test case :
///////////////////////
int sv_list[74];
int sv_list[74] = {1 ,2};
///////////////////////
Produces the error
test3.c:3: redeclaration of `sv_list'
test3.c:1: `sv_list' previously declared here

Gcc does not complain.





James Michael DuPont <mdupont>

 

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

No files currently attached

 

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.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.13-4b4b.
Corresponding source code