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 toolsSeverity: 5 - Blocker
Priority: 5 - NormalStatus: Ready For Test
Assigned to: Paolo Redaelli <Tybor>Open/Closed: Closed
Release: adlerFixed 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:


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 File(s):

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 (Updated the item)
  • -unavailable- added by cadrian (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 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 27 Aug 2013 09:23:37 PM UTCTyborOpen/ClosedOpen=>Closed
    Tue 30 Jul 2013 12:40:17 PM UTCTyborStatusIn Progress=>Ready For Test
    Mon 29 Jul 2013 08:08:37 AM UTCTyborSeverity3 - Normal=>5 - Blocker
      StatusNone=>In Progress
      Assigned toNone=>Tybor

    Back to the top

    Powered by Savane 3.1-cleanup1