When argparse-f was compiled in visual-studio, the Intel compiler had a bug.
After the type constructor initializes short_name_index with the value -1, the constructor pops out as if short_name_index will become 0! This is supposed to be an Intel compiler bug.
Solution
There are two solutions:
Initializes the value of short_name_index at the type declaration:
Initialize to 0 in the type constructor instead of -1.
Description
When argparse-f was compiled in visual-studio, the Intel compiler had a bug.
After the type constructor initializes
short_name_index
with the value-1
, the constructor pops out as ifshort_name_index
will become0
! This is supposed to be an Intel compiler bug.Solution
There are two solutions:
Initializes the value of
short_name_index
at the type declaration:Initialize to
0
in the type constructor instead of-1
.Other parts with adjustments.