When constructing a function that parses options using cel/opt, argc and argv of main() have to be given to that function as values (as opposed to references, that are &argc and &argv); see main.c of beluga for example. Necessary to inspect the reason and to document it if cannot be revised.
The text was updated successfully, but these errors were encountered:
mycoboco
changed the title
problems related to put parsing options into a function
problems related to putting parsing options into a function
Oct 5, 2014
When constructing a function that parses options using
cel/opt
,argc
andargv
ofmain()
have to be given to that function as values (as opposed to references, that are&argc
and&argv
); seemain.c
ofbeluga
for example. Necessary to inspect the reason and to document it if cannot be revised.The text was updated successfully, but these errors were encountered: