bugLiberty Eiffel - Bugs: bug #47009, Anonymous typedeffed struct not...

 
 

bug #47009: Anonymous typedeffed struct not wrapped

Submitted by:  Paolo Redaelli <Tybor>
Submitted on:  Fri 29 Jan 2016 09:47:25 AM UTC  
 
Category: WrappersSeverity: 5 - Blocker
Priority: 5 - NormalStatus: Fixed
Assigned to: Paolo Redaelli <Tybor>Open/Closed: Closed
Release: bellFixed Release: None
Planned Release: bell

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 22 Feb 2016 03:28:28 PM UTC, comment #5:

Not solved as now it produces incorrect C code for the query returning the size of the object.

Paolo Redaelli <Tybor>
Project AdministratorIn charge of this item.
Mon 15 Feb 2016 08:59:49 PM UTC, comment #4:

Should be solved by commit 577f85f0bfe0bd5c98f47e870b3bb43de4d9f843

Paolo Redaelli <Tybor>
Project AdministratorIn charge of this item.
Wed 10 Feb 2016 06:39:35 AM UTC, comment #3:

Now they are wrapped but the generated C code is invalid. Multiple definintion of a "sizeof_" are made.

Further changes needed. Reverting to "in progress" state.

Paolo Redaelli <Tybor>
Project AdministratorIn charge of this item.
Mon 08 Feb 2016 06:30:45 PM UTC, comment #2:

Tentative solution with commit a1ffd33

Paolo Redaelli <Tybor>
Project AdministratorIn charge of this item.
Mon 08 Feb 2016 04:00:20 PM UTC, comment #1:

FFI_CIF_STRUCT is not wrapped anymore and it's needed by ffi wrappers and by foreign interface lib

Paolo Redaelli <Tybor>
Project AdministratorIn charge of this item.
Fri 29 Jan 2016 09:47:25 AM UTC, original submission:

Code like

typedef struct {
int foo;
char *bar;
} my_struct;

is currently not being wrapped.

Paolo Redaelli <Tybor>
Project AdministratorIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by Tybor (Submitted the item)
  •  

    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):

     

     

    Follow 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 08 Apr 2016 11:53:41 PM UTCTyborOpen/ClosedOpen=>Closed
    Fri 08 Apr 2016 11:53:02 PM UTCTyborStatusIn Progress=>Fixed
    Mon 22 Feb 2016 03:39:21 PM UTCTyborStatusReady For Test=>In Progress
    Mon 15 Feb 2016 08:59:49 PM UTCTyborStatusIn Progress=>Ready For Test
    Wed 10 Feb 2016 06:39:35 AM UTCTyborStatusReady For Test=>In Progress
    Mon 08 Feb 2016 06:30:44 PM UTCTyborStatusIn Progress=>Ready For Test
    Mon 08 Feb 2016 04:00:20 PM UTCTyborSeverity3 - Normal=>5 - Blocker
    Mon 01 Feb 2016 02:40:48 PM UTCTyborStatusNone=>In Progress

    Back to the top


    Powered by Savane 3.1-cleanup1