X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=doc%2Fsdccman.lyx;h=a2acece715ea52b942d90016e097f3269867e0ef;hb=b46f611661e6333c1101509186fef5e51ee13edf;hp=629c0c2cbc824d42d78fd460db596fb9b0d3dd58;hpb=6e8aa19d0f3f4a05e9713d487167048cf58e57ec;p=fw%2Fsdcc diff --git a/doc/sdccman.lyx b/doc/sdccman.lyx index 629c0c2c..a2acece7 100644 --- a/doc/sdccman.lyx +++ b/doc/sdccman.lyx @@ -36641,7 +36641,7 @@ t', 'near', 'nonbanked', 'pdata', 'reentrant', 'sbit', 'sfr', 'shadowregs', \end_layout \begin_layout Itemize -integer promotion of variable arguments is not performed if the argument +Integer promotion of variable arguments is not performed if the argument is explicitly taypecasted unless the \series bold - @@ -36689,7 +36689,7 @@ status collapsed \begin_layout Verse \family typewriter -void vararg_func (char *str, ...) { atr; } +void vararg_func (char *str, ...) { str; } \newline \newline @@ -36715,21 +36715,14 @@ char c = 10; \newline \InsetSpace ~ \InsetSpace ~ -vararg_func ( -\begin_inset Quotes sld -\end_inset - -%c -\begin_inset Quotes srd -\end_inset - -, c); +vararg_func ("%c", c); \newline \newline \InsetSpace ~ \InsetSpace ~ -/* argument u is not promoted to int, +/* + argument u is not promoted to int, \newline \InsetSpace ~ \InsetSpace ~ @@ -36739,8 +36732,8 @@ vararg_func ( \InsetSpace ~ \InsetSpace ~ \InsetSpace ~ -* - if --std-cXX is not defined; +* if + --std-cXX is not defined; \newline \InsetSpace ~ \InsetSpace ~ @@ -36755,15 +36748,7 @@ vararg_func ( \newline \InsetSpace ~ \InsetSpace ~ -vararg_func ( -\begin_inset Quotes sld -\end_inset - -%bc -\begin_inset Quotes srd -\end_inset - -, (char)u); +vararg_func ("%bc", (char)u); \newline } \end_layout