This is the mail archive of the archer@sourceware.org mailing list for the Archer project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: archer-sergiodj-stap -O2 -Wall warnings=errors


Hi Jan,

Jan Kratochvil <jan.kratochvil@redhat.com> writes:

> Hi Sergio,
>
> with -O2 (+some -Wall or so options possibly - what applies for Fedora builds)
> one gets:
>
> gcc-4.6.0-0.14.fc15.x86_64
> stap-probe.c: In function âstap_fetch_reg_valueâ:
> stap-probe.c:923:12: error: âaopâ may be used uninitialized in this function [-Werror=uninitialized]
> stap-probe.c:919:10: error: âretâ may be used uninitialized in this function [-Werror=uninitialized]
> stap-probe.c: In function âstap_evaluate_conditionallyâ:
> stap-probe.c:1184:3: error: âresâ may be used uninitialized in this
> function [-Werror=uninitialized]

Thanks for pointing out those errors.  They were fixed today (Sunday)
afternoon, after you tried to compile my branch.  I compiled it here
with -O2 -Wall and everything worked.

Thanks.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]