bugDotGNU Portable.NET - Bugs: bug #6994, Pointers to functions works strange

 
 

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

bug #6994: Pointers to functions works strange

Submitted by:  None
Submitted on:  Sat 27 Dec 2003 04:29:47 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Sat 27 Dec 2003 04:29:47 AM UTC, original submission:

The following legal code will produce errors in C compiler.
--cut--
typedef void new_t(char);

new_t *p1;

void
test(void)
{
new_t *p = p1;

p(1);
p1(2);
}
--cut--
Boris Popov
bp shift-2 vertex.kz

Anonymous

 

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-cleanup1