Hi again,
I've created a header file for the festival speech strings,
"speech_defs.h" and I wish to include it in three different files...
gpsdrive.c
speech_out.c
splash.c
I've used the standard prevent multiple definition method...
#ifndef SPEECH_DEFS_H
#define SPEECH_DEFS_H
...
#endif
However it doesn't seem to work, I'm still getting multiple
definition errors, is there something special that needs done? I know
very little about Makefiles, is there something to be modified there?
You can test this problem by creating a simple '.h' file with, say, a
string defined then include it in the above files.
--
Rob
(rob-PQdFaghcHlp/unjJdyJNww@xxxxxxxxxxxxxxxx)
--
This message was part of the gpsdrive mailinglist
unsubscribing can be done by sending a mail containing a body of:
-quote--
unsubscribe gpsdrive
-unquote--
to majordomo-ahljRfkWE0EwtzFM8z8+AfP6llvjuJOh@xxxxxxxxxxxxxxxx
|