On Wed, 02 Jul 2008, Szakáts Viktor wrote:
> HB_EXIT_FUNC() is indeed used by the compiler to mark
> EXIT PROC/FUNCs as such, but it's part of a broader logic.
> Used like this - by itself -, it never gets executed.
> It was actually reported by all compilers as unused static
> function, which it was.
> [ I wouldn't be surprised if HB_EXIT_FUNC() wouldn't be called
> in xhb either, but I didn't check. ]

Yes. Neither Harbour not xHarbour execute HB_EXIT_FUNC() and/or
HB_INIT_FUNC() automatically. HB_EXIT_FUNC/HB_INIT_FUNC are only
macros to define special unique names for compiler but they not
cause that anything will be executed.

The HB_EXIT_FUNC removed from hbziparch library from the beginning
was dummy code never executed in both project.

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to