While compiling with -Wall and -Werror (to iron out some stuff) I stumbled across this thing in ros/src/TDataStd/TDataStd_Constraint.cxx, line 213:
void TDataStd_Constraint::SetType (const TDataStd_ConstraintEnum CTR)
// OCC2932 correction
if(myType = CTR) return;
myType = CTR;
Presumably the if-condition should use the == operator instead, as all other similar constructs with the same comment do. The attached patch fixes this.