Mail Archives: djgpp-workers/2000/05/31/10:21:45
>
> On Wed, 31 May 2000, Mark E. wrote:
>
> > ! { ".ksh", script_exec, INTERP_FLAG_SKIP_SEARCH},
> > ! { ".pl", script_exec, INTERP_FLAG_SKIP_SEARCH}, /* Perl */
> > ! { ".sed", script_exec, INTERP_FLAG_SKIP_SEARCH},
> > { "", go32_exec },
> > { 0, script_exec }, /* every extension not mentioned above calls it */
> > { 0, 0 },
>
> Doesn't GCC print a warning about incomplete initialization in the last 3
> lines? Even if it doesn't, I think we should initialize the flags to
> zero explicitly, like you did with the first few entries.
I missed that, thanks. And I didn't get a warning. Yet when I tried to use
constant integers (static const inst interp_flag_skip_search = 1), gcc told
me the initializer wasn't constant.
Does the same thing need to be done to __dosexec_find_on_path?
- Raw text -