Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Nov 2017 13:44:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 223748] security/veracrypt: fix build with wxgtk30 - 3.0.3.1
Message-ID:  <bug-223748-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223748

            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@FreeBSD.org
          Reporter: rozhuk.im@gmail.com
          Assignee: acm@FreeBSD.org
             Flags: maintainer-feedback?(acm@FreeBSD.org)

Created attachment 188116
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D188116&action=
=3Dedit
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, t=
his
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/GraphicU=
serInterface.h:20:
/wrkdirs/usr/ports/security/veracrypt/work/veracrypt-1.21/src/Main/Forms/Wa=
itDialog.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 wxScopedWCharBuf=
fer'
(aka 'const wxScopedCharTypeBuffer<wchar_t>') to 'wchar_t *' is not allowed
                                const_cast <wchar_t *>
(passwordStr.wc_str())[i] =3D L'X';
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=
~~
...

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223748-13>