[Gifti-bugreport] [gifti-Bugs][4644] gifti_io.c:3293 compiler warning in printf

gifti-bugs at www.nitrc.org gifti-bugs at www.nitrc.org
Fri Feb 26 08:28:23 PST 2010


A new tracker item was added or updated.  You may respond by visiting: 
http://www.nitrc.org/tracker/?func=detail&atid=368&aid=4644&group_id=75
Or reply to this email with your response between the following markers: 
#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+
(enter your response here)
#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+

Bugs item #4644 was opened on 2010-02-26 11:28.
Status: Open
Priority: 3
Submitted By: Nick Schmansky (nschmans)
Assigned to: Nobody (None)
Summary: gifti_io.c:3293  compiler warning in printf 
Hardware: None
Product: None
Operating System: None
Component: None
Version: None
Severity: None
Resolution: None
URL: 


Initial Comment:
gcc 3.4.6 issues the following warning:

gifti_io.c: In function `gifti_compare_coordsys':
gifti_io.c:3293: warning: long long int format, long unsigned int arg (arg 2)

a fix is this change (change to long unsigned int) :

<         if(lverb>2) printf("-- coordsys xform diff at offset %lld\n",
---
>         if(lverb>2) printf("-- coordsys xform diff at offset %lu\n",

this is not a bug, but rather allows building w/o warnings (freesurfer build only allows building w/o warnings)




-- the NITRC team


More information about the Gifti-bugreport mailing list