Teodor, All the points mnetioned in you email have been addressed. I've avoided an #include "stem.h" from inside stem.c, since stem.h can generate #defines which might be upsetting to stem.c, but the extern declarations of stem.h are now all replicated at the head of the corresponding stem.c, so it leads to the same thing. Anyway, your warning messages will now go away. Martin