[MINC-users] Minc 1.5.1 64-bit compatibility bug
Alexandre CARMEL-VEILLEUX
acveilleux at mrs.mni.mcgill.ca
Tue Jul 22 14:39:35 EDT 2008
On Tue, Jul 22, 2008 at 02:33:57PM -0400, Claude LEPAGE wrote:
>
> Shouldn't rawtominc.c use ARGV_STRING instead of ARGV_CONSTANT? These
> are strings, not integers.
ARGV_STRING expects that the next argument on the command-line
should be a string. -mri is only a flag and doesn't expect an argument.
The ParseArgv man page states:
ARGV_STRING
In this form, dst is treated as a pointer to a (char *);
ParseArgv stores at *dst a pointer to the following argument,
and discards the matching and following arguments from argv.
Src is treated as an integer count: if its value is greater than
1, then that many arguments are processed and Dst is treated as
an array pointer.
Alex
More information about the MINC-users
mailing list