Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warnings while build with GCC 9 #545

Closed
Vascom opened this issue Feb 1, 2019 · 0 comments
Closed

Warnings while build with GCC 9 #545

Vascom opened this issue Feb 1, 2019 · 0 comments

Comments

@Vascom
Copy link
Contributor

Vascom commented Feb 1, 2019

Fedora doing MassRebuild with GCC 9 and encfs has some new warnings.

BUILDSTDERR: /builddir/build/BUILD/encfs-1.9.5/encfs/NullNameIO.cpp: In member function 'virtual encfs::Interface encfs::NullNameIO::interface() const': BUILDSTDERR: /builddir/build/BUILD/encfs-1.9.5/encfs/NullNameIO.cpp:48:50: warning: implicitly-declared 'encfs::Interface::Interface(const encfs::Interface&)' is deprecated [-Wdeprecated-copy] BUILDSTDERR: 48 | Interface NullNameIO::interface() const { return NNIOIface; } BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/encfs-1.9.5/encfs/NullNameIO.h:26, BUILDSTDERR: from /builddir/build/BUILD/encfs-1.9.5/encfs/NullNameIO.cpp:21: BUILDSTDERR: /builddir/build/BUILD/encfs-1.9.5/encfs/Interface.h:60:14: note: because 'encfs::Interface' has user-provided 'encfs::Interface& encfs::Interface::operator=(const encfs::Interface&)' BUILDSTDERR: 60 | Interface &operator=(const Interface &src); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/encfs-1.9.5/encfs/NullNameIO.cpp: In static member function 'static encfs::Interface encfs::NullNameIO::CurrentInterface()':

And one old warning

BUILDSTDERR: In file included from /builddir/build/BUILD/encfs-1.9.5/encfs/Context.cpp:27: BUILDSTDERR: /builddir/build/BUILD/encfs-1.9.5/encfs/Mutex.h: In member function 'bool encfs::EncFS_Context::usageAndUnmount(int)': BUILDSTDERR: /builddir/build/BUILD/encfs-1.9.5/encfs/Mutex.h:49:35: warning: 'lock.encfs::Lock::_mutex' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 49 | if (_mutex) pthread_mutex_unlock(_mutex); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/encfs-1.9.5/encfs/Context.cpp:97:8: note: 'lock.encfs::Lock::_mutex' was declared here BUILDSTDERR: 97 | Lock lock(contextMutex); BUILDSTDERR: | ^~~~ make[2]: Entering directory '/builddir/build/BUILD/encfs-1.9.5/x86_64-redhat-linux-gnu'

See all of them here https://kojipkgs.fedoraproject.org//packages/fuse-encfs/1.9.5/4.fc30/data/logs/x86_64/build.log

Please correct it so encfs will not have any build warning :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants