On July 5, 2021 11:21:02 PM UTC, Nikita Zlobin wrote:
>Check for double dash may be done in for loop.
>
>arg.h: https://pastebin.com/c4FQcrtH
>
>I tried to compare objdump'ed compiler output with different options -
>filesizes are same, though difference exists.
>
>There are diffs for 3 -O levels:
Check for double dash may be done in for loop.
arg.h: https://pastebin.com/c4FQcrtH
I tried to compare objdump'ed compiler output with different options -
filesizes are same, though difference exists.
There are diffs for 3 -O levels: -O3, -O2, -Os.
For -O3:
--- tabbed-O3-1.o.objdump 2021
On Mon, Jul 05, 2021 at 02:48:10PM +0500, Nikita Zlobin wrote:
> For now all names in arg.h use ARG for prefix.
> However, considering existing argv parsing helpers like getopt, there
> could be two prefixes:
> OPT - for option key or name (for long opts)
> ARG - optional option value if any, argum
For now all names in arg.h use ARG for prefix.
However, considering existing argv parsing helpers like getopt, there
could be two prefixes:
OPT - for option key or name (for long opts)
ARG - optional option value if any, argument.
This way I could propose alternated naming, which would be more cle