Re: RFC: Support non-standard extension (call via casted function pointer)

2016-01-30 Thread Eric Botcazou
> What about the prototype in raise.h? Yes, the C side knows the type, but not the Ada side, that's the problem. -- Eric Botcazou

Re: RFC: Support non-standard extension (call via casted function pointer)

2016-01-30 Thread Eric Botcazou
lso problematic for LTO on all architectures so we'll probably give it a try for GCC 7. -- Eric Botcazou

Re: RFC: Support non-standard extension (call via casted function pointer)

2016-01-28 Thread Eric Botcazou
ypes with it anyway. That being said, there is indeed a related issue with Ada on m68k because, when you have a C function that returns a pointer (typically malloc), you generally import it in Ada as System.Address: function malloc (Size : size_t) return System.Address; pragma Import (C,