Le 01/06/12 10:14, Xavier Roche a écrit :
> void my_t getOne() {
> return (my_t) { 1.0 };
> }
The specification of the function is wrong:
void my_t getOne() is a syntax error.
It's either void or returning a my_t.
This is always incorrect, in ANY version of C you may use.