2012-07-23 22:45 UTC+0700 Andi Jahja <xharbour/AT/telkom/net/id>
  * source/vm/mainwin.c
  * source/vm/hvm.c
    ! MINGW32 does not require hb_forceLinkMainWin() to be force-linked,
    condition is hence removed.

  * winmake/compile.mak
  * winmake/makefile.gc
    ! remove mainstd and mainwin as library members of MINGW's vm.lib due
    to the fact that in GUI mode, MINGW (eg. ver 4.7.1 of nuwen.net) sometimes
    fails to use mainwin as startup, IOW MINGW always searches for main() which
    is in mainstd.c. This results in a non-initialization of GUI handles which
    throw an error of non-GUI program although appropriate flags have been
    assigned to MINGW's linker. This configuration is IMHO a correct and very
    clear way instead of letting MINGW guessing which startup is to be used in
    an application. As a consequence thereof, programmers now have to 
explicitely
    link mainstd for console applications, or mainwin for GUI applications.

Andi


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to