bugLiberty Eiffel - Bugs: bug #39185, wrappers-generator doesn't handle...

 
 

bug #39185: wrappers-generator doesn't handle properly standard typedefs

Submitted by:  Cyril Adrian <cadrian>
Submitted on:  Fri 07 Jun 2013 08:45:18 AM UTC  
 
Category:  Liberty tools Severity:  5 - Blocker
Priority:  5 - Normal Status:  Ready For Test
Assigned to:  Paolo Redaelli <Tybor> Open/Closed:  Closed
Release:  adler Fixed Release:  None
Planned Release:  adler

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 30 Jul 2013 12:40:17 PM UTC, comment #2:

Tested latest changes on 32 bits and 64 bits machines, manually rebuilding the involved libraries.
It seems fixed.
I'll wait next automatic test before closing it.

Paolo Redaelli <Tybor>
Project AdministratorIn charge of this item.
Mon 29 Jul 2013 08:11:43 AM UTC, comment #1:

This bug seems similar to those preventing LLVMEC_COMPILE_MESSAGE to compile.
To see if recent changes in wrappers-generator correctly handles it I'm doing the followind:
1) refresh compiler and wrappers-generator
2) clean and rebuild ømq wrappers
3) change LLVMEC_COMPILE_MESSAGE, making it compilable on 32bit machines;
4) repeating steps 2 and 3 on 64 bit machines.

Paolo Redaelli <Tybor>
Project AdministratorIn charge of this item.
Fri 07 Jun 2013 08:45:18 AM UTC, original submission:

https://github.com/LibertyEiffel/Liberty/issues/97

wrappers-generator does not properly handle the type definitions made in the standard C header stdint.h thought they are correctly wrapped.
The following typedefs are standard and the wrapper type could be more properly anchored:

Integer types having exactly the specified width [u]intX_t
Integer types capable of holding object pointers [u]intptr_t
Minimum-width integer types [u]int_leastX_t
Fastest minimum-width integer types [u]int_fastX_t
Greatest-width integer types [u]intmax_t
See http://www.nongnu.org/avr-libc/user-manual/group__avr__stdint.html

Cyril Adrian <cadrian>
Project Administrator

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by Tybor (Updated the item)
  • -email is unavailable- added by cadrian (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-08-27 Tybor Open/ClosedOpen => Closed
    2013-07-30 Tybor StatusIn Progress => Ready For Test
    2013-07-29 Tybor Severity3 - Normal => 5 - Blocker
        StatusNone => In Progress
        Assigned toNone => Tybor
        ReleaseNone => adler

    Back to the top


    Powered by Savane 3.3