Menu

#43 Cinelerra 7 extreme large amounts of compiler warnings

open
nobody
None
5
2018-08-07
2018-08-07
No

System Mint 18.3 (base: Ubuntu 16.04), 64 bit, AMD cpu, compiler 5.4.0 . When building cinelerra with ¨make >makeresults1.txt 2>makeresults2.txt¨, then makeresult2 has over 157.000 lines of warnings. Over 150.000 of these are for a single definition:

../../../../speech_tools/include/EST_ChannelType.h:138:46: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] #define EST_CoefChannelId(CT,D,SE) ( (CT)<<3 | (D)<<1 & 6 | (SE)&1 )

This many warnings makes it difficult to find serious problems. The attached patch for module thirdparty/speech_tools/include/EST_ChannelType.h fixes the warning. After this a build produces < 7000 lines of warning. Patch in that directory as ¨patch -p1 < estchanneltype.patch" . The patch file can be anywhere, of course.

1 Attachments

Discussion


Log in to post a comment.

MongoDB Logo MongoDB