Am Mittwoch, 12. August 2009 13:51:29 schrieb Dave Plater:
On 08/12/2009 11:09 AM, Dominique Leuenberger wrote:
On 8/12/2009 at 11:05, Dave Plater
wrote: I've used -O2 -Wall -Wextra and I still can't get the uninitialized variables to come up locally. Rpmbuild uses those switches by default, it's still only osc which throws the "is used uninitialized" warning. There must be something that osc does that plain rpmbuild doesn't. Regards Dave P
Are you refering to the initial checking of the result after the build was successful? Yes, there are many more checks run afterwards, called brp-checks and rpmlint. Most of them are heuristic analysis of the built rpms and the compiler output. (especially the 'initialized variables' are just collected from the compiler log and raised as warnings so they are not just missed in the huge build logs.
Dominique
When I use rpmbuild to build the package, I don't get any "is used uninitialized" errors in the log but with osc build the errors are in the log. This is using the same package and spec file.
rpmlint and brp checks are invoked by the build script. Yes, it works with plain rpmlint at build time, but that does not make the package better at runtime ;) bye adrian -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org