← Back to team overview

cuneiform team mailing list archive

debug output

 

I want to ask about including debug version of the windummy.c to the sources. But i`m not sure how to better solve this.
I`m using patched version, like

char *_fullpath(char *absPath, const char *relPath, int maxLength) {
+    fprintf(stderr,"FIXME:.%s not implemented\n",__FUNCTION__);
    return NULL;
}

to see non implemented function calls. I think that its better to route all such calls to print_debug() functions, which will print all to stderr in case of DEBUG build, and to null in case of production. What do you think about this?




Follow ups