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 authentification level.

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

Submitted by:  James Michael DuPont <mdupont>
Submitted on:  Mon 22 Nov 2004 09:52:13 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned 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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

No Changes Have Been Made to This Item

Back to the top


Powered by Savane 3.1-cleanup