And just to be a bit more precise, the __attribute__ ((weak)) syntax simply doesn't compile with the C compiler, even though it's specifically stated to do so in the manual.

    5       |void __attribute__ ((weak)) foo()
===========> ....................a.....b............................
*=SEVERE==========> a - CZM0275  Unexpected text '(' encountered.
*=SEVERE==========> b - CZM0276  Syntax error: possible missing '{'?

So I'm really getting tied up by the behavioral differences among the various compilation tools.  I'll do what I can to package it all up and send it to IBM.

On 4/2/2019 10:07 AM, Joe Pluta wrote:
Yes, I do.  It's going to take a little while because I want the whole package.  Another anomaly is that the syntax does NOT work with the C compiler, including the alternate syntax described in the manual:

So I'll put together my test cases and reach out to the fine folks.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].