On Wed, Dec 18, 2013 at 02:02:55PM +0100, Roger Oberholtzer wrote:
I am trying to build BLT (based on Tcl 8.6) in OBS. I have gotten to the point where all the RPMs get built correctly. After that, the build does some additional checks, one of which fails:
[ 222s] ... running 01-check-debuginfo [ 222s] ... testing for empty debuginfo packages [ 222s] ... running 02-check-gcc-output [ 222s] ... testing for serious compiler warnings [ 222s] (using /usr/lib/build/checks-data/check_gcc_output) [ 222s] (using //.build.log) [ 222s] E: blt 64bit-portability-issue ../bltNsUtil.c:67 [ 222s] E: blt 64bit-portability-issue bltNsUtil.c:67
Happy as I am to know about 64-bit issues, in code that is not mine and is being compiled for i586 (i.e., 32-bit), why should this kind of thing be an error instead of a warning?
When I look at the code it complains about, I don't see the problem.
Can I disable this check? If you are curious, the package is:
https://build.opensuse.org/package/show/home:rogeroberholtzer/blt25
[ 44s] bltNsUtil.c: In function 'Blt_GetVariableNamespace': [ 44s] bltNsUtil.c:67:5: warning: implicit declaration of function 'Tcl_FindNamespaceVar' [-Wimplicit-function-declaration] [ 44s] bltNsUtil.c:67:12: warning: assignment makes pointer from integer without a cast [enabled by default] [ 44s] bltNsUtil.c:73:5: warning: implicit declaration of function 'Tcl_GetVariableFullName' [-Wimplicit-function-declaration] [ 44s] bltNsUtil.c:75:5: warning: passing argument 4 of 'Blt_ParseQualifiedName' from incompatible pointer type [enabled by default] [ 44s] bltNsUtil.h:110:12: note: expected 'const char **' but argument is of type 'char **' [ 44s] bltNsUtil.c:75:58: warning: comparison between pointer and integer [enabled by default] [ 44s] bltNsUtil.c: In function 'Blt_EnterNamespace': [ 44s] bltNsUtil.c:105:5: warning: implicit declaration of function 'Tcl_PushCallFrame' [-Wimplicit-function-declaration] [ 44s] bltNsUtil.c: In function 'Blt_LeaveNamespace': [ 44s] bltNsUtil.c:118:5: warning: implicit declaration of function 'Tcl_PopCallFrame' [-Wimplicit-function-declaration] These implicits need to go away. Include the right header file for it Add a #include <tclIntDecls.h> perhaps. Ciao, Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org