Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#1 missing include <string.h> in tblock.h

open
nobody
None
5
2001-09-05
2001-09-05
Anonymous
No

wordwrap.cc wouldn't compile because of "undefined reference to strlen()" (approx).

Kludged by inserting
#include <string.h>
in tblock.h

This probably violates your portabiilty concepts, and duplicates includes in other some modules,
such as tblock.cc which has ifdef-ed includes,
but it "just seemed simpler" (for me) to put the include close to the usage-point.

Anyway, best regards, and keep up the good work!
..jim

Discussion