>
> f.e. hbgtcore[3359]:
>>   hb_errInternal( 9998, "Screen driver initialization failure", NULL, NULL
>> );
>>
>>   /* force linking HB_GTSYS() */
>>   HB_FUNC_EXEC( HB_GTSYS );
>>
>> If you want then you can cleanup all such bindings. But if MSVC
>> tries to be more clever then programmers then it won't help and
>> all such bindings in any locations will be pacified by optimizer.
>
>
> Many thanks for the tip. I'll fix these.
>

I've moved HB_FUNC_EXEC() to the top of the function,
but MSVC is smart enough to optimize it out.

There is '__declspec( noinline )' maybe we should have
a HB_FUNC_ANNOUNCE() or similar way to declare such function,
having this modifier. What do you think?

So:
HB_FUNC_ANNOUNCE( HB_GTSYS ) {}

Brgds,
Viktor
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to