Description of problem: I just tried to compile package proj-4.4.8-4 from Redhat Fedora Extras development tree. The Intel compiler said pj_gridinfo.c(491): warning #269: invalid format string conversion The source code is fprintf( stderr, "pj_gridinfo_init_ntv2(): " "failed to find parent %8.8s for %.\n", (const char *) header+24, gi->ct->id ); I'm not sure if the compiler is complaining about the %8.8s specifier, or the %. specifier. They both look wrong to me. Suggest %8s and %d Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
What do you mean by intel compiler? Were you using gcc? I suggest you submit a bug report to remotesensing.org at: http://bugzilla.remotesensing.org/enter_bug.cgi?product=PROJ.4 and paste a link to the bug here. I will follow your progress.
>What do you mean by intel compiler? Intel are a large computer chip manufacturer. They make a C compiler for their chips. I used version 8.1 >Were you using gcc? No, Intel. You can get gcc to complain, if you use the -Wall flag. >I suggest you submit a bug report to remotesensing.org Thanks for your suggestion, but I won't be doing this. I've got hundreds of packages to fix, and having to deal with third parties for every one isn't practical. Feel free to submit the bug report if you like. I understand Extras is a volunteer project.
I compiled both proj-4.4.8 and proj-4.4.9 using gcc on FC4 with the Wall flag turned on. In both cases, gcc raised a warning for the line of code in question. This issue could be resolved by changing the format string from "failed to find parent %8.8s for %.\n" to "failed to find parent %8.8s for %d\n" I have raised this as an upstream bug with the proj team (see bug #886 at http://bugzilla.remotesensing.org). I can upgrade Fedora Extras to use proj-4.4.9 and generate a patch to fix this, however I'm still trying to get my CVS access sorted out.
I've been in touch with the upstream maintainer and they've patched the source code and resolved the bug. I've created a patch with the same fix and will submit it to CVS as soon as I can get access. I will also upgrade the package to proj-4.4.9 which should resolve one of the other bugzilla issues against this package.
[just reassigning...]
The new version of proj (4.4.9-1) is now in FC4 and devel. This version contains the patch to resolve this so I am closing the issue.