[Biopython-dev] [Bug 2608] New: Gcc "differ in signedness" warnings with trie.c

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Fri Oct 3 14:08:37 UTC 2008


http://bugzilla.open-bio.org/show_bug.cgi?id=2608

           Summary: Gcc "differ in signedness" warnings with trie.c
           Product: Biopython
           Version: Not Applicable
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: trivial
          Priority: P5
         Component: Main Distribution
        AssignedTo: biopython-dev at biopython.org
        ReportedBy: bsouthey at gmail.com


Gcc 4.3.2 provides multiple "differ in signedness" warning with trie.c as given
below. This may be related to multiple declarations of 'unsigned char' instead
of 'char'.


Bio/trie.c: In function ‘Trie_set’:
Bio/trie.c:103: warning: pointer targets in passing argument 1 of ‘strlen’
differ in signedness
Bio/trie.c:103: warning: pointer targets in passing argument 1 of
‘__strdup’ differ in signedness
Bio/trie.c:156: warning: pointer targets in passing argument 1 of ‘strlen’
differ in signedness
Bio/trie.c:162: warning: pointer targets in passing argument 1 of
‘__builtin_strncpy’ differ in signedness
Bio/trie.c:162: warning: pointer targets in passing argument 2 of
‘__builtin_strncpy’ differ in signedness
Bio/trie.c:164: warning: pointer targets in passing argument 1 of ‘strlen’
differ in signedness
Bio/trie.c:164: warning: pointer targets in passing argument 1 of
‘__strdup’ differ in signedness
Bio/trie.c: In function ‘Trie_get’:
Bio/trie.c:229: warning: pointer targets in passing argument 1 of ‘strlen’
differ in signedness
Bio/trie.c:229: warning: pointer targets in passing argument 1 of ‘strlen’
differ in signedness
Bio/trie.c:229: warning: pointer targets in passing argument 1 of ‘strlen’
differ in signedness
Bio/trie.c:229: warning: pointer targets in passing argument 1 of ‘strlen’
differ in signedness
Bio/trie.c:229: warning: pointer targets in passing argument 1 of ‘strlen’
differ in signedness
Bio/trie.c:229: warning: pointer targets in passing argument 1 of ‘strlen’
differ in signedness
Bio/trie.c:229: warning: pointer targets in passing argument 1 of ‘strlen’
differ in signedness
Bio/trie.c:229: warning: pointer targets in passing argument 1 of
‘__builtin_strcmp’ differ in signedness
Bio/trie.c:229: warning: pointer targets in passing argument 2 of
‘__builtin_strcmp’ differ in signedness
Bio/trie.c:229: warning: pointer targets in passing argument 1 of ‘strlen’
differ in signedness
Bio/trie.c:229: warning: pointer targets in passing argument 1 of
‘__builtin_strcmp’ differ in signedness
Bio/trie.c:229: warning: pointer targets in passing argument 2 of
‘__builtin_strcmp’ differ in signedness
Bio/trie.c:229: warning: pointer targets in passing argument 1 of ‘strlen’
differ in signedness
Bio/trie.c:229: warning: pointer targets in passing argument 1 of
‘__builtin_strcmp’ differ in signedness
Bio/trie.c:229: warning: pointer targets in passing argument 2 of
‘__builtin_strcmp’ differ in signedness
Bio/trie.c:229: warning: pointer targets in passing argument 1 of
‘__builtin_strcmp’ differ in signedness
Bio/trie.c:229: warning: pointer targets in passing argument 2 of
‘__builtin_strcmp’ differ in signedness
Bio/trie.c:229: warning: pointer targets in passing argument 1 of ‘strlen’
differ in signedness
Bio/trie.c:229: warning: pointer targets in passing argument 1 of ‘strncmp’
differ in signedness
Bio/trie.c:229: warning: pointer targets in passing argument 2 of ‘strncmp’
differ in signedness
Bio/trie.c:235: warning: pointer targets in passing argument 1 of ‘strlen’
differ in signedness
Bio/trie.c: In function ‘_get_approximate_transition’:
Bio/trie.c:268: warning: pointer targets in passing argument 1 of ‘strlen’
differ in signedness
Bio/trie.c:272: warning: pointer targets in passing argument 1 of ‘strlen’
differ in signedness
Bio/trie.c:272: warning: pointer targets in passing argument 1 of ‘strlen’
differ in signedness
Bio/trie.c:284: warning: pointer targets in passing argument 1 of
‘__builtin_strncat’ differ in signedness
Bio/trie.c:284: warning: pointer targets in passing argument 2 of
‘__builtin_strncat’ differ in signedness
Bio/trie.c: In function ‘_get_approximate_trie’:
Bio/trie.c:353: warning: pointer targets in passing argument 1 of ‘strlen’
differ in signedness
Bio/trie.c:355: warning: pointer targets in passing argument 1 of ‘strlen’
differ in signedness
Bio/trie.c:356: warning: pointer targets in passing argument 1 of ‘strcat’
differ in signedness
Bio/trie.c:356: warning: pointer targets in passing argument 2 of ‘strcat’
differ in signedness
Bio/trie.c:367: warning: pointer targets in passing argument 1 of ‘strlen’
differ in signedness
Bio/trie.c:369: warning: pointer targets in passing argument 1 of ‘strlen’
differ in signedness
Bio/trie.c: In function ‘Trie_has_prefix’:
Bio/trie.c:440: warning: pointer targets in passing argument 1 of ‘strlen’
differ in signedness
Bio/trie.c:441: warning: pointer targets in passing argument 1 of ‘strlen’
differ in signedness
Bio/trie.c:443: warning: pointer targets in passing argument 1 of ‘strlen’
differ in signedness
Bio/trie.c:443: warning: pointer targets in passing argument 1 of ‘strlen’
differ in signedness
Bio/trie.c:443: warning: pointer targets in passing argument 1 of ‘strlen’
differ in signedness
Bio/trie.c:443: warning: pointer targets in passing argument 1 of ‘strlen’
differ in signedness
Bio/trie.c:443: warning: pointer targets in passing argument 1 of
‘__builtin_strcmp’ differ in signedness
Bio/trie.c:443: warning: pointer targets in passing argument 2 of
‘__builtin_strcmp’ differ in signedness
Bio/trie.c:443: warning: pointer targets in passing argument 1 of ‘strlen’
differ in signedness
Bio/trie.c:443: warning: pointer targets in passing argument 1 of
‘__builtin_strcmp’ differ in signedness
Bio/trie.c:443: warning: pointer targets in passing argument 2 of
‘__builtin_strcmp’ differ in signedness
Bio/trie.c:443: warning: pointer targets in passing argument 1 of ‘strlen’
differ in signedness
Bio/trie.c:443: warning: pointer targets in passing argument 1 of
‘__builtin_strcmp’ differ in signedness
Bio/trie.c:443: warning: pointer targets in passing argument 2 of
‘__builtin_strcmp’ differ in signedness
Bio/trie.c:443: warning: pointer targets in passing argument 1 of
‘__builtin_strcmp’ differ in signedness
Bio/trie.c:443: warning: pointer targets in passing argument 2 of
‘__builtin_strcmp’ differ in signedness
Bio/trie.c:443: warning: pointer targets in passing argument 1 of ‘strncmp’
differ in signedness
Bio/trie.c:443: warning: pointer targets in passing argument 2 of ‘strncmp’
differ in signedness
Bio/trie.c: In function ‘_iterate_helper’:
Bio/trie.c:468: warning: pointer targets in passing argument 1 of ‘strlen’
differ in signedness
Bio/trie.c:470: warning: pointer targets in passing argument 1 of ‘strlen’
differ in signedness
Bio/trie.c:475: warning: pointer targets in passing argument 1 of ‘strcat’
differ in signedness
Bio/trie.c:475: warning: pointer targets in passing argument 2 of ‘strcat’
differ in signedness
Bio/trie.c: In function ‘_with_prefix_helper’:
Bio/trie.c:521: warning: pointer targets in passing argument 1 of ‘strlen’
differ in signedness
Bio/trie.c:522: warning: pointer targets in passing argument 1 of ‘strlen’
differ in signedness
Bio/trie.c:524: warning: pointer targets in passing argument 1 of ‘strlen’
differ in signedness
Bio/trie.c:524: warning: pointer targets in passing argument 1 of ‘strlen’
differ in signedness
Bio/trie.c:524: warning: pointer targets in passing argument 1 of ‘strlen’
differ in signedness
Bio/trie.c:524: warning: pointer targets in passing argument 1 of ‘strlen’
differ in signedness
Bio/trie.c:524: warning: pointer targets in passing argument 1 of
‘__builtin_strcmp’ differ in signedness
Bio/trie.c:524: warning: pointer targets in passing argument 2 of
‘__builtin_strcmp’ differ in signedness
Bio/trie.c:524: warning: pointer targets in passing argument 1 of ‘strlen’
differ in signedness
Bio/trie.c:524: warning: pointer targets in passing argument 1 of
‘__builtin_strcmp’ differ in signedness
Bio/trie.c:524: warning: pointer targets in passing argument 2 of
‘__builtin_strcmp’ differ in signedness
Bio/trie.c:524: warning: pointer targets in passing argument 1 of ‘strlen’
differ in signedness
Bio/trie.c:524: warning: pointer targets in passing argument 1 of
‘__builtin_strcmp’ differ in signedness
Bio/trie.c:524: warning: pointer targets in passing argument 2 of
‘__builtin_strcmp’ differ in signedness
Bio/trie.c:524: warning: pointer targets in passing argument 1 of
‘__builtin_strcmp’ differ in signedness
Bio/trie.c:524: warning: pointer targets in passing argument 2 of
‘__builtin_strcmp’ differ in signedness
Bio/trie.c:524: warning: pointer targets in passing argument 1 of ‘strncmp’
differ in signedness
Bio/trie.c:524: warning: pointer targets in passing argument 2 of ‘strncmp’
differ in signedness
Bio/trie.c:530: warning: pointer targets in passing argument 1 of ‘strlen’
differ in signedness
Bio/trie.c:536: warning: pointer targets in passing argument 1 of
‘__builtin_strncat’ differ in signedness
Bio/trie.c:536: warning: pointer targets in passing argument 2 of
‘__builtin_strncat’ differ in signedness
Bio/trie.c: In function ‘_serialize_transition’:
Bio/trie.c:621: warning: pointer targets in passing argument 1 of ‘strlen’
differ in signedness
Bio/trie.c: In function ‘_deserialize_transition’:
Bio/trie.c:708: warning: pointer targets in passing argument 1 of ‘strlen’
differ in signedness
Bio/trie.c:708: warning: pointer targets in passing argument 1 of
‘__strdup’ differ in signedness
Bio/trie.c: In function ‘test’:
Bio/trie.c:752: warning: pointer targets in passing argument 2 of
‘Trie_set’ differ in signedness
Bio/trie.c:753: warning: pointer targets in passing argument 2 of
‘Trie_set’ differ in signedness
Bio/trie.c:754: warning: pointer targets in passing argument 2 of
‘Trie_set’ differ in signedness
Bio/trie.c:755: warning: pointer targets in passing argument 2 of
‘Trie_set’ differ in signedness
Bio/trie.c:757: warning: pointer targets in passing argument 2 of
‘Trie_get’ differ in signedness
Bio/trie.c:758: warning: pointer targets in passing argument 2 of
‘Trie_get’ differ in signedness
Bio/trie.c:759: warning: pointer targets in passing argument 2 of
‘Trie_get’ differ in signedness
Bio/trie.c:760: warning: pointer targets in passing argument 2 of
‘Trie_get’ differ in signedness
Bio/trie.c:762: warning: pointer targets in passing argument 2 of
‘Trie_set’ differ in signedness
Bio/trie.c:763: warning: pointer targets in passing argument 2 of
‘Trie_get’ differ in signedness
Bio/trie.c:765: warning: pointer targets in passing argument 2 of
‘Trie_get’ differ in signedness
Bio/trie.c:768: warning: pointer targets in passing argument 2 of
‘Trie_set’ differ in signedness
Bio/trie.c:769: warning: pointer targets in passing argument 2 of
‘Trie_get’ differ in signedness


-- 
Configure bugmail: http://bugzilla.open-bio.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Biopython-dev mailing list