Re: __typeof__ does not work as expected with XLC compiler on AIX 5.2

2016-11-02 Thread TestRealTime .
mpiler understands the usage of __typeof__ in two use cases: a) as a type cast, b) as a type in the variable declaration. So far I incline to think that it is a problem of compiler itself, what do you think? -- Best Regards, Alexander. 2016-10-31 10:05 GMT+01:00 Florian Weimer : > On 10/28/20

Re: __typeof__ does not work as expected with XLC compiler on AIX 5.2

2016-11-02 Thread TestRealTime .
suppose that if you use xlc 6.0.0.0 you should reproduce the problem as well. -- Best Regards, Alexander. 2016-10-31 16:03 GMT+01:00 Paul Eggert : > On 10/28/2016 08:13 AM, TestRealTime . wrote: > > long Func(int x) { return x; } >> int main() >> { >> int y, z

__typeof__ does not work as expected with XLC compiler on AIX 5.2

2016-10-28 Thread TestRealTime .
Hello, I would like to report about two (probably, self-connected) bugs in the __typeof__ C function. These bugs are reproduced when I am trying to compile a simple code with XLC compiler on AIX 5.2. Please, look at the code snippets below. 1. typeof_example_1.c long Func(int x) { return x; } int