Jeff Squyres, le Wed 27 Apr 2011 19:19:09 +0200, a écrit :
> On Apr 27, 2011, at 12:21 PM, Samuel Thibault wrote:
> >> topology-x86.c: In function ?\200\230summarize?\200\231:
> >> topology-x86.c:273:21: warning: ?\200\230one?\200\231 may be used uninitialized in this function
> >> topology-x86.c: In function ?\200\230look_proc?\200\231:
> >> topology-x86.c:222:61: warning: ?\200\230apic_id?\200\231 may be used uninitialized in this function
> > It's odd that I haven't seen those in my tests. I guess we don't
> > automatically add -O2?
> OMPI automatically adds annoying flags like -pedantic to developer builds.
These warnings come from -Wall. But they are often not detected by the
compiler when -O2 is not given.