Help testing release candidate / mc-4.8.23-rc1

David Martin dhmartina at yahoo.es
Mon Jun 17 06:56:55 UTC 2019


"Ubuntu 16.04.6 LTS": many unsigned int cast warnings for smbfs.

LDFLAGS=-s ./configure --with-x --enable-aspell --enable-vfs-undelfs 
--enable-vfs-smb --disable-doxygen-doc --enable-aspell

    ...

    ar: `u' modifier ignored since `D' is the default (see `U')

    ...

    ar cr libsamba.a param/loadparm.o param/params.o lib/time.o
    lib/slprintf.o lib/util.o lib/debug.o lib/system.o lib/util_str.o
    lib/kanji.o lib/charcnv.o lib/charset.o lib/username.o
    lib/util_file.o lib/util_sock.o lib/md4.o lib/interface.o
    lib/netmask.o libsmb/clientgen.o libsmb/pwd_cache.o
    libsmb/smbencrypt.o libsmb/smbdes.o libsmb/nmblib.o
    libsmb/namequery.o libsmb/nterr.o libsmb/smberr.o
    make[5]: se sale del directorio
    '/home/dmartin/git/mc-4.8.22-166-gcd16697a3/src/vfs/smbfs/helpers'
    make[5]: se entra en el directorio
    '/home/dmartin/git/mc-4.8.22-166-gcd16697a3/src/vfs/smbfs'
     ?? CC???????????? smbfs.lo
    In file included from helpers/include/includes.h:433:0,
     ???????????????????????????????? from smbfs.c:66:
    smbfs.c: In function ???smbfs_chown???:
    smbfs.c:994:16: warning: format ???%d??? expects argument of type ???int???,
    but argument 3 has type ???uid_t {aka unsigned int}??? [-Wformat=]
     ???????? DEBUG (3, ("smbfs_chown(path:%s, owner:%d, group:%d)\n",
    path_element->path, owner, group));
     ?????????????????????????????? ^
    helpers/include/smb.h:120:20: note: in definition of macro ???DEBUG???
     ?????????????? && (dbgtext body) )
     ?????????????????????????????????????? ^
    smbfs.c:994:16: warning: format ???%d??? expects argument of type ???int???,
    but argument 4 has type ???gid_t {aka unsigned int}??? [-Wformat=]
     ???????? DEBUG (3, ("smbfs_chown(path:%s, owner:%d, group:%d)\n",
    path_element->path, owner, group));
     ?????????????????????????????? ^
    helpers/include/smb.h:120:20: note: in definition of macro ???DEBUG???
     ?????????????? && (dbgtext body) )
     ?????????????????????????????????????? ^
    smbfs.c: In function ???smbfs_get_path???:
    smbfs.c:1352:29: warning: comparison of distinct pointer types lacks
    a cast
     ???????? if (path_element->class != &vfs_smbfs_ops)
     ???????????????????????????????????????????????????????? ^
    In file included from helpers/include/includes.h:433:0,
     ???????????????????????????????? from smbfs.c:66:
    smbfs.c: In function ???smbfs_fake_server_stat???:
    smbfs.c:1460:28: warning: format ???%o??? expects argument of type
    ???unsigned int???, but argument 3 has type ???int??? [-Wformat=]
     ???????????????????????????????? DEBUG (4, ("smbfs_fake_server_stat: %s:%4o\n",
     ?????????????????????????????????????????????????????? ^
    helpers/include/smb.h:120:20: note: in definition of macro ???DEBUG???
     ?????????????? && (dbgtext body) )
     ?????????????????????????????????????? ^
    smbfs.c: In function ???smbfs_fake_share_stat???:
    smbfs.c:1521:24: warning: format ???%o??? expects argument of type
    ???unsigned int???, but argument 3 has type ???int??? [-Wformat=]
     ???????????????????????? DEBUG (6, ("smbfs_fake_share_stat: %s:%4o\n",
     ?????????????????????????????????????????????? ^
    helpers/include/smb.h:120:20: note: in definition of macro ???DEBUG???
     ?????????????? && (dbgtext body) )
     ?????????????????????????????????????? ^
    smbfs.c: In function ???smbfs_stat???:
    smbfs.c:1752:29: warning: comparison of distinct pointer types lacks
    a cast
     ???????? if (path_element->class != &vfs_smbfs_ops)
     ???????????????????????????????????????????????????????? ^
    In file included from helpers/include/includes.h:433:0,
     ???????????????????????????????? from smbfs.c:66:
    smbfs.c: In function ???smbfs_mknod???:
    smbfs.c:1886:13: warning: format ???%d??? expects argument of type
    ???int???, but argument 3 has type ???mode_t {aka unsigned int}??? [-Wformat=]
     ?????????????????????? ("smbfs_mknod(path:%s, mode:%d, dev:%u)\n",
    path_element->path, mode,
     ???????????????????????? ^
    helpers/include/smb.h:120:20: note: in definition of macro ???DEBUG???
     ?????????????? && (dbgtext body) )
     ?????????????????????????????????????? ^
    smbfs.c: In function ???smbfs_forget???:
    smbfs.c:1988:29: warning: comparison of distinct pointer types lacks
    a cast
     ???????? if (path_element->class != &vfs_smbfs_ops)
     ???????????????????????????????????????????????????????? ^
     ?? CCLD???????? libvfs-smbfs.la
    ar: `u' modifier ignored since `D' is the default (see `U')

    ...



Yury V. Zaytsev escribi??:
> Hi there,
>
> TLDR; I would appreciate if you could please test the following tarball
> on your systems and report any blocker regressions as compared to the
> previous 4.8.22 release:
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20190617/90546c40/attachment.html>


More information about the mc-devel mailing list