Zitat von Michael Van Canneyt <mich...@freepascal.org>: >[...] > > The single parameter Options is a show stopper for the LCL, because I use > often > > flags like -gh plus a few -d flags for the experimental features. > > I understand. > Maybe we should change it to tstrings, and say that there should be one > option per line ? That avoids the hassle of having to parse the Options string for > quoted params.
Sounds good. > > >[...] > > > > That's where I looked. Should I copy the SearchFile procedure? > > > > > > Can't you use it instead of copy it ? > > > > It has no interface. > > No comprendo ? SearchFile in fpmkunit is only defined in the implementation. I can of course use it via linker tricks, but I don't like that. > > And btw, I don't understand why it uses: > > if FindFirst(SearchDir+'*',faAnyFile and faDirectory,Info)=0 then > > > > faAnyFile and faDirectory = faDirectory. > > Indeed, > 1) it should be or instead of and > 2) anyfilemask should be used instead of '*' :-) Don't know. Mattias _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal