> > compile with -FVTw. -T causes type signatures to be > > emitted. the linker won't link mismatched type signatures. > > i've found this to be very useful. > > Thanks: I will add the flags by default in the Plan9 parameter file > in my framework. Even if it does not catch all, it will help.
-T is absolutely a lifesaver when working together. i updated libthread with chanisclosed(2) support recently. i forgot to warn everyone that the Channel structure had changed and everything using the thread library needed to be recompiled. the bad news was i got a week's reports of linker errors. the good news was nothing that linked broke in mysterious ways. it would be nearly impossible to make changes like that in a production environment without -T. - erik