Dropping sfwnv-dsiscuss:

Roland Mainz wrote:
> Are you sure both "-xc99=all" and "-xc99=%all" do the same stuff (AFAIK
> the answer is "yes"... but then I am wondering why the '%' is
> used/allowed...) ?

Some compiler options take function names as arguments.
-xinline=%none means don't inline any functions, and
-xinline=none means inline the function called "none".

*Most* options don't have to accept function names, but for
unnecessary consistency we have historically used '%' for
all the keyword values.  Officially we are trying to remove
the need for '%' in the compiler syntax, where possible.
Unofficially, there are still lots that use '%' but shouldn't
have to.

The best bet is to check the documentation for the correct spelling.

--chris


Reply via email to