You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2006/08/29 12:43:42 UTC
DO NOT REPLY [Bug 40344] New: - [apr-1.2.7] replace size_t_fmt + friends by proper casts and %.ld
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40344>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40344
Summary: [apr-1.2.7] replace size_t_fmt + friends by proper casts
and %.ld
Product: APR
Version: 1.2.7
Platform: All
OS/Version: Linux
Status: NEW
Severity: major
Priority: P2
Component: APR
AssignedTo: bugs@apr.apache.org
ReportedBy: weigelt@metux.de
For string formatting (printf) of certain types, ie. size_t, there's an
configure check using AC_TRY_RUN how wide the type actually is. This breaks
crosscompiling - AC_TRY_RUN cannot work when crosscompiling.
Solution: always use %ld and simply cast all printf arguments to long.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
DO NOT REPLY [Bug 40344] - [apr-1.2.7] replace size_t_fmt + friends by proper casts and %.ld
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40344>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40344
jorton@redhat.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From jorton@redhat.com 2006-08-29 11:59 -------
Please propose large design changes like this on dev@apr not the bug tracking
system.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.