LBD_Descriptor icon indicating copy to clipboard operation
LBD_Descriptor copied to clipboard

Segmentation fault caused by forggetting to return in non-void return function “LineDescriptor::ComputeLBD_”

Open soytony opened this issue 2 years ago • 2 comments

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.

soytony avatar Mar 06 '22 07:03 soytony

您好,我叫旷鸿章,我已经收到了你的邮件。谢谢!

BTREE-C802 avatar Mar 06 '22 07:03 BTREE-C802