Chuck Martin
2003-07-22 09:21:12 UTC
Sorry for the delayed response. I've been very busy this past week.
removed if CRYPT isn't defined. Now I just need to figure out how
to fix it in a way that doesn't seem like a kludge.
Chuck
"Translation unit" is the language legalese for what you normally think
of as a source file. So this is saying there is no real C code in
the source file. This can happen if the source file is only comments.
Another case is if you aren't compiling with the right preprocessor
337$ cat x.c
#if BAR
int foo() {
return 7;
}
#endif
338$ /usr/bin/cc -c -DBAR x.c
339$ /usr/bin/cc -c x.c
"x.c", line 6: warning: empty translation unit
Thanks. That explains it perfectly. The whole file is effectivelyof as a source file. So this is saying there is no real C code in
the source file. This can happen if the source file is only comments.
Another case is if you aren't compiling with the right preprocessor
337$ cat x.c
#if BAR
int foo() {
return 7;
}
#endif
338$ /usr/bin/cc -c -DBAR x.c
339$ /usr/bin/cc -c x.c
"x.c", line 6: warning: empty translation unit
removed if CRYPT isn't defined. Now I just need to figure out how
to fix it in a way that doesn't seem like a kludge.
Chuck