On 8/3/2013 7:06 AM, Dmitry Olshansky wrote:
03-Aug-2013 03:32, Walter Bright пишет:
On 8/2/2013 3:53 PM, Dmitry Olshansky wrote:
Thanks, that must be it! And popping that function above another one gets
Obj::far16thunk to be blamed :) Need to watch out for this sort of
problem next
time. Could it be due to how it works with old CV debug info format?


Try compiling with -g.


Actually I do, as I had no symbols w/o it.

This is what I changed in win32.mak:

reldmd:
     $(DMDMAKE) "OPT=-o" "DEBUG=-g" "LFLAGS=-L/ma/co" $(TARGETEXE)

 From this:

reldmd:
     $(DMDMAKE) "OPT=-o" "DEBUG=" "LFLAGS=-L/delexe" $(TARGETEXE)

I've no clue what /ma/co does here, but I guess ma is short of "map" and co -
"codeview"?

/map

    http://www.digitalmars.com/ctg/ctgLinkSwitches.html#map

/co

    http://www.digitalmars.com/ctg/ctgLinkSwitches.html#codeview

/delexe

    http://www.digitalmars.com/ctg/ctgLinkSwitches.html#delexecutable

Reply via email to