As per summary, check attached build log.
Created attachment 194526 [details] Build log
If you just add #include <stdio.h> near the top of dotd.cpp, will it compile? I cannot check, because it compiles fine for me (gcc-4.3.2-r3).
Created attachment 196400 [details, diff] Patch allowing sci-libs/arprec-2.2.2 to build against gcc 4.4
Many thanks. In cvs.
*** Bug 277736 has been marked as a duplicate of this bug. ***