bugDotGNU Portable.NET - Bugs: bug #11121, false error : "incompatible...

 
 

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

bug #11121: false error : "incompatible types in assignment" for assigning function pointers

Submitted by:  James Michael DuPont <mdupont>
Submitted on:  Wed 24 Nov 2004 08:31:13 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Wed 24 Nov 2004 09:02:34 PM UTC, comment #1:

This is being caused by c_oper.tc:1758:
CCErrorOnLine(yygetfilename(node), yygetlinenum(node),"incompatible types in assignment");

Converting it into an Warning does not solve the problem, because the types and methods are not being exported for the function pointers.

l_struct_2E_interpreter : unresolved type reference
void * * ()(int) Perl_Gsigfpe_saved_ptr(l_struct_2E_interpreter ) : unresolved method reference

So, I would say that this looks like an interesting problem to look into. I will see how much time I can find to devote to it, but I dont need this for vcg dot gnu, so I will put it on low priority for now.

James Michael DuPont <mdupont>
Wed 24 Nov 2004 08:31:13 PM UTC, original submission:

Yes, I will be looking into fixing this myself. Just not today.
TESTCASE produces ://test4.c:7: incompatible types in assignment
struct l_struct_2E_interpreter;
void (*Perl_Gsigfpe_saved_ptr(struct l_struct_2E_interpreter )) (int );

int main ()
{
void (**l73_tmp_2E_0) (int );
l73_tmp_2E_0 = Perl_Gsigfpe_saved_ptr( ((struct l_struct_2E_interpreter *)0));//test4.c:7: incompatible types in assignment
}

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