i agree with pete point of view
It describe a real problem for occasional harbour developer
I add to my list on this argument also the xbase++ preprocessor
directive: #pragma library ("mylib.lib")
Unfortunately due to portability such feature cannot be added to
Harbour because it may work only with some subset of supported by
Harbour C
compilers and practice shows that such non portable features create
much more troubles then resolve problems
http://www.mail-archive.com/[email protected]/msg20832.html
Hi hope that evolution of c compiler will support this feature
2010/3/17 pete_westg <[email protected]>:
> στις 17/03/2010 18:18, O/H Viktor Szakáts έγραψε:
>>
>> The rest would need hbmk2 to parse all source files for
>> make options, which would in turn have a rather huge speed
>> penalty. Plus it'd need a 3rd kind of option syntax to
>> maintain (above existing .hbp and .hbc).
>
> No, in no way I did mean to parse all source files. And i fully agree that
> that should be a very good "chance" of troubles like those you are
> describe.
> My thought was of a very few or even one line *on top of main.prg only* in
> the form :
>
> #using "this lib list", "/and that switch list".
>
> I can think some good reasons for implementing this feature (readability,
> flexibility, testability, security, etc.) but if it's so much and complex
> work to be done then we can forget it. -no doubt, you are the
> chief-programmer here! ;-)
>
>
> regards,
>
> ---
> Pete
>
>
--
Massimo Belgrano
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour