Opened 9 years ago
Closed 9 years ago
#993 closed defect (fixed)
Compiling error with gcc 5.2.1 and Werror
Reported by: | Georg Semmler | Owned by: | Dimitar Misev |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | conversion | Version: | development |
Keywords: | Cc: | ||
Complexity: | Medium |
Description
convertor.cc: In static member function ‘static
r_Convertor::convert_type_e r_Convertor::get_internal_type(const
r_Type*, bool)’:
convertor.cc:255:46: error: logical not is only applied to the left
hand side of comparison [-Werror=logical-not-parentheses]
if (!(*iter).type_of().type_id() == r_Type::CHAR bands 3)
convertor.cc:255:46: error: comparison of constant ‘8’ with boolean
expression is always false [-Werror=bool-compare]
Note:
See TracTickets
for help on using tickets.
Your patch did not apply:
I'd suggest you to just integrate it in your memory leaks patch with
git rebase
.