[Bug 223748] security/veracrypt: fix build with wxgtk30 - 3.0.3.1
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Nov 19 13:44:55 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223748
Bug ID: 223748
Summary: security/veracrypt: fix build with wxgtk30 - 3.0.3.1
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: acm at FreeBSD.org
Reporter: rozhuk.im at gmail.com
Assignee: acm at FreeBSD.org
Flags: maintainer-feedback?(acm at FreeBSD.org)
Created attachment 188116
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=188116&action=edit
build fix
...
gmake[2]: Entering directory
'/wrkdirs/usr/ports/security/veracrypt/work/veracrypt-1.21/src/Main'
Precompiling SystemPrecompiled.h
c++: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this
behavior is deprecated
Compiling Application.cpp
In file included from Application.cpp:19:
In file included from
/wrkdirs/usr/ports/security/veracrypt/work/veracrypt-1.21/src/Main/GraphicUserInterface.h:20:
/wrkdirs/usr/ports/security/veracrypt/work/veracrypt-1.21/src/Main/Forms/WaitDialog.h:81:7:
warning: 'VeraCrypt::WaitDialog::GetCharWidth' hides overloaded virtual
function [-Woverloaded-virtual]
int GetCharWidth (wxWindow *window) const
^
/usr/local/include/wx-3.0/wx/gtk/window.h:92:17: note: hidden overloaded
virtual function 'wxWindow::GetCharWidth' declared here: different number of
parameters (0 vs 1)
virtual int GetCharWidth() const;
^
1 warning generated.
Compiling CommandLineInterface.cpp
Compiling FavoriteVolume.cpp
Compiling LanguageStrings.cpp
Compiling StringFormatter.cpp
Compiling TextUserInterface.cpp
TextUserInterface.cpp:122:5: error: const_cast from 'const wxScopedWCharBuffer'
(aka 'const wxScopedCharTypeBuffer<wchar_t>') to 'wchar_t *' is not allowed
const_cast <wchar_t *>
(passwordStr.wc_str())[i] = L'X';
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list