[Biopython-dev] Compiling for MacPython
Yair Benita
Y.Benita at pharm.uu.nl
Fri Jan 17 02:33:30 EST 2003
Hi All,
I have been trying to compile version 1.10 for MacPython. While most
extensions compiled with no problem, I still can't compile the trie
extension. The output of codewarrior is below, any ideas?
Error : illegal string constant
triemodule.c line 606 "
Project: trie.mcp, Target: trie, Source File: triemodule.c
Error : declaration syntax error
triemodule.c line 608 lookup of a string in a dictionary, where M is the
length of the\n\
Project: trie.mcp, Target: trie, Source File: triemodule.c
Error : declaration syntax error
triemodule.c line 609 string. It also supports approximate matches.\n\
Project: trie.mcp, Target: trie, Source File: triemodule.c
Error : declaration syntax error
triemodule.c line 610 \n\
Project: trie.mcp, Target: trie, Source File: triemodule.c
Error : declaration syntax error
triemodule.c line 611 Functions:\n\
Project: trie.mcp, Target: trie, Source File: triemodule.c
Error : ';' expected
triemodule.c line 611 Functions:\n\
Project: trie.mcp, Target: trie, Source File: triemodule.c
Error : declaration syntax error
triemodule.c line 613 save Save a trie to a handle.\n\
Project: trie.mcp, Target: trie, Source File: triemodule.c
Error : declaration syntax error
triemodule.c line 614 load Load a trie from a handle.\n\
Project: trie.mcp, Target: trie, Source File: triemodule.c
Error : declaration syntax error
triemodule.c line 615 \n\
Project: trie.mcp, Target: trie, Source File: triemodule.c
Error : illegal string constant
triemodule.c line 616 ";
Project: trie.mcp, Target: trie, Source File: triemodule.c
Error : declaration syntax error
triemodule.c line 616 void
Project: trie.mcp, Target: trie, Source File: triemodule.c
Error : illegal implicit conversion from 'int' to
'unsigned char *'
trie.c line 95 if(!(new_suffix = strdup(key)))
Project: trie.mcp, Target: trie, Source File: trie.c
Error : illegal implicit conversion from 'int' to
'unsigned char *'
trie.c line 156 if(!(new_suffix2 = strdup(suffix+chars_shared)))
Project: trie.mcp, Target: trie, Source File: trie.c
Error : illegal implicit conversion from 'int' to
'unsigned char *'
trie.c line 700 if(!(transition->suffix = strdup(KEY)))
Project: trie.mcp, Target: trie, Source File: trie.c
More information about the Biopython-dev
mailing list