Viktor Szakáts wrote:

One warning I'm getting when building test_ra.prg:
---
rddleto.lib(leto1.obj) : warning LNK4254: section '.CRT' (40000040)
merged into '.data' (C0000040) with different attributes
LIBCMT.lib(crt0init.obj) : warning LNK4253: section '.CRT' not merged
into '.rdata';  already merged into '.data'
---

This - and also x64 compatibility - can be fixed in
source/client/leto1.c, by changing init section at the end with this:
---
#if defined( HB_PRAGMA_STARTUP )
   #pragma startup leto1__InitSymbols
   #pragma startup _hb_leto_rdd_init_
#elif defined( HB_MSC_STARTUP )
   #if defined( HB_OS_WIN_64 )
      #pragma section( HB_MSC_START_SEGMENT, long, read )
   #endif
   #pragma data_seg( HB_MSC_START_SEGMENT )
   static HB_$INITSYM hb_vm_auto_leto1__InitSymbols = leto1__InitSymbols;
   static HB_$INITSYM hb_vm_auto_leto_rdd_init = _hb_leto_rdd_init_;
   #pragma data_seg()
#endif
---

I am getting this when I link hwgui, what are the guidelines for which files it applies to?

Regards
Alex
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to