I've been doing work on a module that adds some new functions for working with strings and much of the code is written in C. My C file contains these lines:
#include <brl.mod/blitz.mod/blitz_string.h>
#include <brl.mod/blitz.mod/blitz_array.h>
#include <brl.mod/blitz.mod/blitz_unicode.h> Apparently as a consequence of including blitz_unicode.h I'm now getting this error when I attempt to compile a file which imports the module in question. (But not when building modules.) The other includes don't cause any such issues. I'm running BlitzMax 1.50 on OSX.
duplicate symbol _bbToUpperData in:
/Applications/BlitzMax150/mod/brl.mod/blitz.mod/blitz.release.macos.x86.a(blitz_string.c.release.macos.x86.o)
/Applications/BlitzMax150/mod/mach.mod/strings.mod/strings.release.macos.x86.a(strings.c.release.macos.x86.o)
duplicate symbol _bbToLowerData in:
/Applications/BlitzMax150/mod/brl.mod/blitz.mod/blitz.release.macos.x86.a(blitz_string.c.release.macos.x86.o)
/Applications/BlitzMax150/mod/mach.mod/strings.mod/strings.release.macos.x86.a(strings.c.release.macos.x86.o)
ld: 2 duplicate symbols for architecture i386
|