LBD_Descriptor
LBD_Descriptor copied to clipboard
Segmentation fault caused by forggetting to return in non-void return function “LineDescriptor::ComputeLBD_”
function "int LineDescriptor::ComputeLBD_(ScaleLines &keyLines)" in LineDescriptor.cpp should return a int value at the end, that is line 671, while it did not. This behavior is not recognized as a error if compiling using gcc, and will work fine when compile optimization flag "-o " is not used. However, it causes Segmentation Fault if "-o" is used.
This is not the only function that forgets to return at the end.
您好,我叫旷鸿章,我已经收到了你的邮件。谢谢!