[Debian GNUstep maintainers] Bug#749791: steptalk: GCC warnings that may lead to runtime issues with new GNUstep libraries

Yavor Doganov yavor at gnu.org
Thu May 29 20:46:15 UTC 2014


Source: steptalk
Version: 0.10.0-5
Severity: normal
Tags: sid jessie
User: pkg-gnustep-maintainers at lists.alioth.debian.org
Usertags: gnustep-base1.24-transition gnustep-gui0.24-transition gnustep-transition

Your package builds successfully with the new GNUstep libraries, but
there are some GCC warnings that *may* lead to problems at runtime and
may affect the forthcoming gnustep transition/jessie release.  Latest
versions of the core GNUstep packages are available at mentors.d.n [*];
they will be uploaded to experimental first.

Please note that the warnings may be unrelated to GNUstep or changes in
GNUstep but could be legitimate nevertheless.  In case the fix is
applicable for the current gnustep-* library packages in sid (-base/1.22
and -gui/0.20) you can upload the fixed package before the transition
begins.  Otherwise, please wait for the transition to complete and
do not forget to adjust the Build-Depends field accordingly:

  libgnustep-base-dev (>= 1.24.6)
  or
  libgnustep-gui-dev (>= 0.24)

Relevant portion(s) of the log:

SmalltalkEngine.m: In function '-[SmalltalkEngine interpretScript:inContext:]':
SmalltalkEngine.m:83:5: warning: passing argument 1 of 'setEnvironment:' from distinct Objective-C type [enabled by default]
     [compiler setEnvironment:context];
     ^
SmalltalkEngine.m:86:5: warning: passing argument 1 of 'executeInEnvironment:' from distinct Objective-C type [enabled by default]
     retval = [compiledScript executeInEnvironment:context];
     ^
[...]
SmalltalkEngine.m: In function '-[SmalltalkEngine methodFromSource:forReceiver:inContext:]':
SmalltalkEngine.m:111:5: warning: passing argument 1 of 'compilerWithEnvironment:' from distinct Objective-C type [enabled by default]
     compiler = [STCompiler compilerWithEnvironment:context];
     ^
SmalltalkEngine.m: In function '-[SmalltalkEngine executeMethod:forReceiver:withArguments:inContext:]':
SmalltalkEngine.m:137:5: warning: passing argument 1 of 'interpreterWithEnvrionment:' from distinct Objective-C type [enabled by default]
     interpreter = [STBytecodeInterpreter interpreterWithEnvrionment:context];
     ^
[...]
STShell.m: In function '-[STShell initReadline]':
STShell.m:135:5: warning: passing argument 2 of 'rl_bind_key' from incompatible pointer type [enabled by default]
     rl_bind_key('\t', complete_handler);
     ^
In file included from STShell.m:42:0:
/usr/include/readline/readline.h:300:12: note: expected 'int (*)(int,  int)' but argument is of type 'int (*)(void)'
 extern int rl_bind_key PARAMS((int, rl_command_func_t *));
            ^
[...]
STShell.m:309:5: warning: assignment from distinct Objective-C type [enabled by default]
     env = [conversation context];
     ^
STShell.m: In function '-[STShell executeScriptNamed:]':
STShell.m:377:5: warning: initialization from distinct Objective-C type [enabled by default]
     STScript *script = [scriptsManager scriptWithName:scriptName];


The full build log is available upon request.
The severity of this bug may be raised to "important", "serious" or
"grave" after the transition depending on the impact.

[*]
http://mentors.debian.net/debian/pool/main/g/gnustep-make/gnustep-make_2.6.6-1.dsc
http://mentors.debian.net/debian/pool/main/g/gnustep-base/gnustep-base_1.24.6-1.dsc
http://mentors.debian.net/debian/pool/main/g/gnustep-gui/gnustep-gui_0.24.0-1.dsc
http://mentors.debian.net/debian/pool/main/g/gnustep-back/gnustep-back_0.24.0-1.dsc



More information about the pkg-GNUstep-maintainers mailing list