here is a gcc 4.3.x patch for knock. Reproducible: Always
Created attachment 161371 [details, diff] knock-0.5-r1.ebuild.patch
Created attachment 161372 [details, diff] gcc-4.3.patch
Thanks for the patch! I see there's no package maintainer, but it looks pretty simple so I'll handle it myself.
Your patch has been forwarded upstream and commited to gentoo tree.