[MacPorts] #40389: codeblocks: no matching function for call to 'wxDropSource::wxDropSource(NassiDiagramWindow*&, wxIcon&, wxIcon&, wxIcon&)'
MacPorts
noreply at macports.org
Thu Sep 5 08:27:55 PDT 2013
#40389: codeblocks: no matching function for call to
'wxDropSource::wxDropSource(NassiDiagramWindow*&, wxIcon&, wxIcon&,
wxIcon&)'
-------------------------+-------------------
Reporter: mojca@… | Owner: jwa@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: codeblocks |
-------------------------+-------------------
Comment (by mojca@…):
And yet another error:
{{{
libtool: compile: /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I.
-I../../../../../src/include
-I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/2.8/lib/wx/include
/mac-unicode-release-2.8
-I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/2.8/include/wx-2.8
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXMAC__ -I./include -I./..
-I../../../../../src/sdk/wxscintilla/include -I/opt/local/include -Ulinux
-Uunix -O2 -ffast-math -DCB_AUTOCONF -pipe -Os -arch i386 -DCB_PRECOMP
-Winvalid-pch -fPIC -DPIC -fexceptions -DHUNSPELL_STATIC -MT
SpellCheckerOptionsDialog.lo -MD -MP -MF
.deps/SpellCheckerOptionsDialog.Tpo -c src/SpellCheckerOptionsDialog.cpp
-fno-common -DPIC -o .libs/SpellCheckerOptionsDialog.o
../HunspellInterface.cpp:19:33: error: hunspell/hunspell.hxx: No such file
or directory
../HunspellInterface.cpp: In member function 'virtual int
HunspellInterface::InitializeSpellCheckEngine()':
../HunspellInterface.cpp:63: error: invalid use of incomplete type 'struct
Hunspell'
../HunspellInterface.h:46: error: forward declaration of 'struct Hunspell'
../HunspellInterface.cpp: In member function 'virtual int
HunspellInterface::UninitializeSpellCheckEngine()':
../HunspellInterface.cpp:72: warning: possible problem detected in
invocation of delete operator:
../HunspellInterface.cpp:72: warning: invalid use of incomplete type
'struct Hunspell'
../HunspellInterface.h:46: warning: forward declaration of 'struct
Hunspell'
../HunspellInterface.cpp:72: note: neither the destructor nor the class-
specific operator delete will be called, even if they are declared when
the class is defined.
mv -f .deps/SpellCheckUserInterface.Tpo .deps/SpellCheckUserInterface.Plo
/bin/sh ../../../../../libtool --tag=CXX --mode=compile
/usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I../../../../../src/include
-I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/2.8/lib/wx/include
/mac-unicode-release-2.8
-I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/2.8/include/wx-2.8
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXMAC__ -I./include -I./..
-I../../../../../src/sdk/wxscintilla/include -I/opt/local/include -Ulinux
-Uunix -O2 -ffast-math -DCB_AUTOCONF -pipe -Os -arch i386 -DCB_PRECOMP
-Winvalid-pch -fPIC -DPIC -fexceptions -DHUNSPELL_STATIC -MT
XmlPersonalDictionaryDialog.lo -MD -MP -MF
.deps/XmlPersonalDictionaryDialog.Tpo -c -o XmlPersonalDictionaryDialog.lo
`test -f 'src/XmlPersonalDictionaryDialog.cpp' || echo
'./'`src/XmlPersonalDictionaryDialog.cpp
mv -f .deps/SpellCheckCmdLineInterface.Tpo
.deps/SpellCheckCmdLineInterface.Plo
/bin/sh ../../../../../libtool --tag=CXX --mode=compile
/usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I../../../../../src/include
-I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/2.8/lib/wx/include
/mac-unicode-release-2.8
-I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/2.8/include/wx-2.8
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXMAC__ -I./include -I./..
-I../../../../../src/sdk/wxscintilla/include -I/opt/local/include -Ulinux
-Uunix -O2 -ffast-math -DCB_AUTOCONF -pipe -Os -arch i386 -DCB_PRECOMP
-Winvalid-pch -fPIC -DPIC -fexceptions -DHUNSPELL_STATIC -MT
XmlSpellCheckDialog.lo -MD -MP -MF .deps/XmlSpellCheckDialog.Tpo -c -o
XmlSpellCheckDialog.lo `test -f 'src/XmlSpellCheckDialog.cpp' || echo
'./'`src/XmlSpellCheckDialog.cpp
../HunspellInterface.cpp: In member function 'virtual wxArrayString
HunspellInterface::GetSuggestions(const wxString&)':
../HunspellInterface.cpp:200: error: invalid use of incomplete type
'struct Hunspell'
../HunspellInterface.h:46: error: forward declaration of 'struct Hunspell'
../HunspellInterface.cpp: In member function 'virtual bool
HunspellInterface::IsWordInDictionary(const wxString&)':
../HunspellInterface.cpp:221: error: invalid use of incomplete type
'struct Hunspell'
../HunspellInterface.h:46: error: forward declaration of 'struct Hunspell'
../HunspellInterface.cpp: In member function 'virtual wxString
HunspellInterface::GetCharacterEncoding()':
../HunspellInterface.cpp:455: error: invalid use of incomplete type
'struct Hunspell'
../HunspellInterface.h:46: error: forward declaration of 'struct Hunspell'
libtool: compile: /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I.
-I../../../../../src/include
-I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/2.8/lib/wx/include
/mac-unicode-release-2.8
-I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/2.8/include/wx-2.8
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXMAC__ -I./include -I./..
-I../../../../../src/sdk/wxscintilla/include -I/opt/local/include -Ulinux
-Uunix -O2 -ffast-math -DCB_AUTOCONF -pipe -Os -arch i386 -DCB_PRECOMP
-Winvalid-pch -fPIC -DPIC -fexceptions -DHUNSPELL_STATIC -MT
XmlPersonalDictionaryDialog.lo -MD -MP -MF
.deps/XmlPersonalDictionaryDialog.Tpo -c
src/XmlPersonalDictionaryDialog.cpp -fno-common -DPIC -o
.libs/XmlPersonalDictionaryDialog.o
libtool: compile: /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I.
-I../../../../../src/include
-I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/2.8/lib/wx/include
/mac-unicode-release-2.8
-I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/2.8/include/wx-2.8
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXMAC__ -I./include -I./..
-I../../../../../src/sdk/wxscintilla/include -I/opt/local/include -Ulinux
-Uunix -O2 -ffast-math -DCB_AUTOCONF -pipe -Os -arch i386 -DCB_PRECOMP
-Winvalid-pch -fPIC -DPIC -fexceptions -DHUNSPELL_STATIC -MT
XmlSpellCheckDialog.lo -MD -MP -MF .deps/XmlSpellCheckDialog.Tpo -c
src/XmlSpellCheckDialog.cpp -fno-common -DPIC -o
.libs/XmlSpellCheckDialog.o
make[5]: *** [HunspellInterface.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
}}}
See https://build.macports.org/builders/buildports-snowleopard-
x86_64/builds/20426.
I don't know if just adding the hunspell dependency would help in any way,
but it seems that the build needs to be checked by someone with access to
10.6 or 10.7 with an early version of Xcode. I committed too many blind
fixes already.
--
Ticket URL: <https://trac.macports.org/ticket/40389#comment:4>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list