Thanks a lot for the link that I have search for a long time and for
your explanation.
But I get also the message "cpp: "C_From_PC/HAdx_wairpor.c", line 0:
warning 2021:". (with no message text)
and how do you understand that the cpp warning are less and equal to
2018 ?
Best regards
Tammy L Morford a écrit :
> awalter1 wrote:
> : On HPUX 11.11 and with cc compiler, I have added the +M compilation option.
> : Many warnings as "ANSI migration warning 713" are generated on each
> : procedure call.
> : Where can I find the meaning of such message and how to solve them
>
> It should be obvious from the message:
> 713 Function%1$s defined in compatibility style.
>
> This means it is using:
> int foo(bar) int bar; { ... }
>
> The correct way to do this is the C/C++/C99 way:
> int foo(int bar) { ... }
>
> Unfortunately I don't see warning 713 on:
> /opt/ansic/html/guide/C/errors.html
> http://docs.hp.com/en/5921/errors.html