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


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

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

Submitter:  James Michael DuPont <mdupont>
Submitted:  Wed 24 Nov 2004 08:31:13 PM UTC
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:


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>


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

Attach Files:

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.

Only logged-in users can vote.





No changes have been made to this item

Back to the top

Powered by Savane 3.9