If i compile firebird 3.x with clang++ i have a lot of warnings also
you reproduce with g++ if you add
-Wparentheses (maybe it should be added to the default g++ flags in
devel flags on linux/posix)
"using the result of an assignment as a condition without parentheses"
https://gist.github.com/982655

and the fix is easy : add the extra () parenthesis in case there is a
assignment and the results will be passed to the if / while

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to