I don't think varargs.h is used anywhere else -- at least, I've never used it. I took the impress functions from somewhere else. I don't think the printers have existed since 1989 or so, and they weren't even all that popular back then. PostScript took over the printer market about that time.
Here's my candidate list of programs for the CVS attic:
oki20 - printer driver for OkiMate 20 printer (B&W)
oki20c - printer driver for OkiMate 20 color printer
pcwarp - intended as more general substitute for macbetcal, but never quite worked
plotin - convert old Unix plot(5) files to metafile graphics
ra_avs - convert to & from AVS image format
ra_bn - convert to & from Barneyscann format
ra_pr - convert to & from 8-bit Sun rasterfile format (still used by anyone?)
ra_pr24 - convert to & from 24-bit Sun rasterfile format
thf2rad - convert GDS "things file" to Radiance scene format
ttyimage - picture to ASCII output converter (useful for anything anymore?)
So, not quite as many as I thought. In fact, I notice that the impress driver isn't in my list of built executables -- meaning that it's already effectively "off the list" of Radiance programs. However, it's still in the source directories, along with a lot of other flotsam that's no longer used for anything. I wonder now why Francesco was even seeing this error, and now I see that my gcc 3.3 compiler does NOT support varargs when I try to build the "impress" executable manually. Perhaps he was using SCONS, and schorsch included things there that are not built by the default Rmakefile.
So, we should add to the list source files that are not built by default these days. Unused headers:
hd/rhd_sample.h
hd/sm.h
hd/sm_flag.h
hd/sm_geom.h
hd/sm_list.h
hd/sm_qtree.h
hd/sm_stree.h
meta/macplot.h
meta/random.h
meta/span.h
meta/tgraph.h
px/tardev.h
px/x11icon.h
px/xraster.h
rt/newsconstants.h
Unused C-files:
common/bcopy.c
common/fixargv0.c
common/frexp.c
common/fwrite.c
common/malloc.c
common/peano.c
common/popen.c
common/random.c
gen/genmarble.c
gen/genbeads.c
gen/hermite3.c
hd/rhd_glx.c
hd/rhd_glx2.c
hd/rhd_ogl.c
hd/rhd_ogl0.c
hd/rhd_oglo.c
hd/rhd_ogls.c
hd/rhd_oglso.c
hd/rhd_x11dbg.c
hd/rhdisp3.c
hd/sm.c
hd/sm_del.c
hd/sm_geom.c
hd/sm_list.c
hd/sm_ogl.c
hd/sm_qtree.c
hd/sm_samp.c
hd/sm_sets.c
hd/sm_stree.c
hd/sm_test.c
hd/sm_usets.c
meta/aed5.c
meta/convect.c
meta/cvmaze.c
meta/ealloc.c
meta/genflake.c
meta/gentree.c
meta/hfio.c
meta/imPfuncs.c
meta/imagew.c
meta/implot.c
meta/impress.c
meta/mac.c
meta/macplot.c
meta/macprt.c
meta/mplot.c
meta/mqdraw.c
meta/mt160.c
meta/mt160l.c
meta/mtext.c
meta/mx80.c
meta/okimate.c
meta/plotout.c
meta/tbar.c
meta/tcurve.c
meta/tgraph.c
meta/tscat.c
meta/xplot.c
px/aedimage.c
px/brandom.c
px/colorscale.c
px/d48c.c
px/glimage.c
px/greyscale.c
px/hexbit.c
px/mt160r.c
px/paintjet.c
px/panim.c
px/psum.c
px/ra_im.c
px/ra_pixar.c
px/ra_xim.c
px/scan.c
px/slide.c
px/t4027.c
px/vgaimage.c
px/xdebugamb.c
px/ximage.c
px/xraster.c
rt/aed.c
rt/msmouse.c
rt/tty.c
rt/vga.c
util/contour.c
util/makedist.c
util/pranim.c
util/scanner.c
util/swaprasheader.c
util/t16anim.c
···
------------------
The README files in the corresponding directories explain what some of these are. For others, you have to examine the files themselves. Some have clearly not been compiled for a long, long time. As far as I'm concerned, we can retire them all to the CVS attic. If it turns out we made a mistake on one or two, we can always pull them down again. There's no real rush on this, so if anyone has any thoughts or wants to speak up for a favorite routine, now's the time.
-Greg