I am using code::blocks and boost. I can compile using boost::regex.
When I use boost::shared_ptr and compile my project. I am getting this compilation errors:
...\Local\Temp\ccviNbsT.s|30|Error: operand size mismatch for
xadd'| ...\Local\Temp\ccviNbsT.s|63|Error: no such instruction:
incl DWORD PTR [eax]'|
Note: I noticed that shared_ptr doesn't have static lib.
include <boost/smart_ptr/shared_ptr.hpp>
class AClass
{
void VAddView(boost::shared_ptr<IClass> pView)
{
}
};
I am confused, Could anybody tell whats going on?