I have a couple of compile issues using vs2015 with the current version 10024.
(1)
In sdcc/src/SDCCralloc.hpp line 618, the compiler complains that there is an
attempt to use deleted operator=.
Line 591 gives the option to use alternative code and if I set the IF to 0, the
compile is fine.
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xutility(458):
error C2280: 'assignments_introduce_instruction::inserter_t
&assignments_introduce_instruction::inserter_t::operator =(const
assignments_introduce_instruction::inserter_t &)': attempting to reference a
deleted function
2> C:\Projects\z80\z88dk\zsdcc\sdcc\src\SDCCralloc.hpp(618): note: compiler has
generated 'assignments_introduce_instruction::inserter_t::operator =' here
2> C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\include\algorithm(3211): note: see reference to function template
instantiation '_Iter &std::_Rechecked<_OutIt,_OutIt>(_Iter &,_UIter)' being
compiled
(2)
In sdcc/src/hc08/ralloc2.cc the compile is warning about a possible assignment
error on line 554:
This looks legit and the == is likely meant to be =.
{
iCode *ifx;
if (ifx = ifxForOp (IC_RESULT (ic), ic))
{
OP_SYMBOL (IC_RESULT (ic))->for_newralloc = false;
OP_SYMBOL (IC_RESULT (ic))->regType == REG_CND; /// <<<<<<<<<<<<< HERE
ifx->generated = true;
}
}
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user