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

Submitter:  None
Submitted:  Sat 27 Dec 2003 04:29:47 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned 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

 

(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-4448.
Corresponding source code