pymite 09 windows
If I rebuild using scons having changed a compile flag that rebuilds the VM (I
added /Zi) the lib step says
src\vm\pmstdlib_img.obj : warning LNK4042: object specified more than once;
extras ignored
src\vm\pmstdlib_nat.obj : warning LNK4042: object specified more than once;
extras ignored
It's caused by src/vm/SConscript using a wildcard that finds the pmstdlib_img.c
and pmstdlib_nat.c generated the last time round.
SOURCES = Glob("*.c")
If this is changed to filter out the pmImgCreator.py generated C files the link
warnings do not occur
PMSTDLIB_GENERATED = ["pmstdlib_img.c", "pmstdlib_nat.c"]
possSOURCES = Glob("*.c")
SOURCES =[x for x in possSOURCES if x.name not in PMSTDLIB_GENERATED]
Original issue reported on code.google.com by david.ea...@googlemail.com on 12 Feb 2012 at 7:53
Original issue reported on code.google.com by
david.ea...@googlemail.com
on 12 Feb 2012 at 7:53