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

Yavor Doganov yavor at gnu.org
Thu May 29 14:35:07 UTC 2014


Source: gnumail
Version: 1.2.0~pre3+snap20071004-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:

Making all for framework GNUMail...
[...]
ExtendedTextView.m: In function '-[ExtendedTextView updateCursorForLinks]':
ExtendedTextView.m:383:6: warning: passing argument 4 of 'rectArrayForCharacterRange:withinSelectedCharacterRange:inTextContainer:rectCount:' from incompatible pointer type [enabled by default]
      rectCount: &rectCount];
      ^
ExtendedTextView.m:383:6: note: expected 'NSUInteger *' but argument is of type 'unsigned int *'
[...]
MailboxManagerController.m:2531:12: warning: passing argument 1 of 'completePathForFolderNode:separator:' from distinct Objective-C type [enabled by default]
            separator: '/']];
            ^
MailboxManagerController.m:2531:12: warning: passing argument 1 of '_reloadFoldersAndExpandParentsFromNode:selectNodeWithPath:' from distinct Objective-C type [enabled by default]
MailboxManagerController.m: In function '-[MailboxManagerController(Private) _folderRenameCompleted:]':
MailboxManagerController.m:2637:2: warning: passing argument 1 of '_reloadFoldersAndExpandParentsFromNode:selectNodeWithPath:' from distinct Objective-C type [enabled by default]
  selectNodeWithPath: aString];
  ^
[...]
STScriptingSupport.m:98:13: warning: return makes integer from pointer without a cast [enabled by default]
[...]
TaskManager.m:484:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   NSMapInsert(_table, (void *)theHash, theMessage);
                       ^
TaskManager.m: In function '-[TaskManager(Private) _tick_internal]':
TaskManager.m:2760:7: warning: passing argument 6 of 'years:months:days:hours:minutes:seconds:sinceDate:' from incompatible pointer type [enabled by default]
       sinceDate: aDate];
       ^
TaskManager.m:2760:7: note: expected 'NSInteger *' but argument is of type 'int *'
TaskManager.m:2807:6: warning: passing argument 6 of 'years:months:days:hours:minutes:seconds:sinceDate:' from incompatible pointer type [enabled by default]
      sinceDate: aDate];
      ^
TaskManager.m:2807:6: note: expected 'NSInteger *' but argument is of type 'int *'
[...]
Making all for bundle PGP...
[...]
PGPController.m: In function '-[PGPController(Private) _tick]':
PGPController.m:2035:6: warning: passing argument 5 of 'years:months:days:hours:minutes:seconds:sinceDate:' from incompatible pointer type [enabled by default]
      sinceDate: [aPassphrase date]];
      ^
PGPController.m:2035:6: note: expected 'NSInteger *' but argument is of type 'int *'


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