[Biopython-dev] [Bug 2607] New: Gcc "differ in signedness" warning with cstringfnsmodule.c
bugzilla-daemon at portal.open-bio.org
bugzilla-daemon at portal.open-bio.org
Fri Oct 3 14:00:42 UTC 2008
http://bugzilla.open-bio.org/show_bug.cgi?id=2607
Summary: Gcc "differ in signedness" warning with
cstringfnsmodule.c
Product: Biopython
Version: Not Applicable
Platform: PC
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P5
Component: Main Distribution
AssignedTo: biopython-dev at biopython.org
ReportedBy: bsouthey at gmail.com
Gcc version 4.3.2 gives the "differ in signedness" warning below when building
Biopython.
While my C is not very good, changing line 34 from 'unsigned char' to just
'char' removed the warnings.
Bio/cstringfnsmodule.c: In function âcstringfns_splitanyâ:
Bio/cstringfnsmodule.c:34: warning: pointer targets in initialization differ in
signedness
Bio/cstringfnsmodule.c:71: warning: pointer targets in passing argument 1 of
âPyString_FromStringAndSizeâ differ in signedness
Bio/cstringfnsmodule.c:85: warning: pointer targets in passing argument 1 of
âstrlenâ differ in signedness
Bio/cstringfnsmodule.c:87: warning: pointer targets in passing argument 1 of
âPyString_FromStringAndSizeâ 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