RAD Studio
ContentsIndex
PreviousUpNext
W8000: Ambiguous operators need parentheses (C++)

(Command-line option to display warning: -wamb) 

This warning is displayed whenever two shift, relational, or bitwise-Boolean operators are used together without parentheses. 

Also, an addition or subtraction operator that appears without parentheses with a shift operator will produce this warning.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!