From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Fri, 16 Apr 2010 08:15:22 -0400 To: 9fans@9fans.net Message-ID: <4ab626d9b7aabfea0782674459db0650@kw.quanstro.net> In-Reply-To: <20100416072705.GA1111@polynum.com> References: <20100415182618.GA9844@polynum.com> <20100416072705.GA1111@polynum.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] APE: a further note. Topicbox-Message-UUID: 034de0f4-ead6-11e9-9d60-3106f5b1d025 > > 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