Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97526 - multiimonc doesn't compile with unicode wxGTK
Summary: multiimonc doesn't compile with unicode wxGTK
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Michael Hanselmann (hansmi) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-30 11:52 UTC by Rob Cakebread (RETIRED)
Modified: 2005-07-04 14:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
multiimonc-0.3.6.ebuild (multiimonc-0.3.6.ebuild,883 bytes, text/plain)
2005-06-30 11:53 UTC, Rob Cakebread (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rob Cakebread (RETIRED) gentoo-dev 2005-06-30 11:52:00 UTC
The attached ebuild will cause it to compile with an ansi version of wxGTK only. It won't compile against a unicode version.
Comment 1 Rob Cakebread (RETIRED) gentoo-dev 2005-06-30 11:53:10 UTC
Created attachment 62344 [details]
multiimonc-0.3.6.ebuild
Comment 2 Michael Hanselmann (hansmi) (RETIRED) gentoo-dev 2005-06-30 11:54:27 UTC
I have no idea why it shouldn't compile with unicode. 0.3.6 has fixes included
for that. Can you please include a compile log with the error?
Comment 3 Rob Cakebread (RETIRED) gentoo-dev 2005-06-30 13:30:34 UTC
There are a couple people who reported this in the forums as well:
http://forums.gentoo.org/viewtopic-p-2538330.html#2538330

make[2]: Entering directory
`/var/tmp/portage/multiimonc-0.3.6/work/MultiImonC-0.3.6/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/lib/wx/include/gtk2u-2.4
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES  -O2
-mcpu=i686 -pipe  -Wall -fno-rtti -MT Functions.o -MD -MP -MF
".deps/Functions.Tpo" -c -o Functions.o Functions.cpp; \
then mv -f ".deps/Functions.Tpo" ".deps/Functions.Po"; else rm -f
".deps/Functions.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/lib/wx/include/gtk2u-2.4
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES  -O2
-mcpu=i686 -pipe  -Wall -fno-rtti -MT ImonC.o -MD -MP -MF ".deps/ImonC.Tpo" -c
-o ImonC.o ImonC.cpp; \
then mv -f ".deps/ImonC.Tpo" ".deps/ImonC.Po"; else rm -f ".deps/ImonC.Tpo";
exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/lib/wx/include/gtk2u-2.4
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES  -O2
-mcpu=i686 -pipe  -Wall -fno-rtti -MT MultiImonC.o -MD -MP -MF
".deps/MultiImonC.Tpo" -c -o MultiImonC.o MultiImonC.cpp; \
then mv -f ".deps/MultiImonC.Tpo" ".deps/MultiImonC.Po"; else rm -f
".deps/MultiImonC.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/lib/wx/include/gtk2u-2.4
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES  -O2
-mcpu=i686 -pipe  -Wall -fno-rtti -MT MainWindow.o -MD -MP -MF
".deps/MainWindow.Tpo" -c -o MainWindow.o MainWindow.cpp; \
then mv -f ".deps/MainWindow.Tpo" ".deps/MainWindow.Po"; else rm -f
".deps/MainWindow.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/lib/wx/include/gtk2u-2.4
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES  -O2
-mcpu=i686 -pipe  -Wall -fno-rtti -MT PrefWindow.o -MD -MP -MF
".deps/PrefWindow.Tpo" -c -o PrefWindow.o PrefWindow.cpp; \
then mv -f ".deps/PrefWindow.Tpo" ".deps/PrefWindow.Po"; else rm -f
".deps/PrefWindow.Tpo"; exit 1; fi
In file included from MainWindow.cpp:35:
TextScrollWindow.h:32: error: invalid type `const char[1]' for default argument
   to `wxString'
TextScrollWindow.h:33: error: invalid type `const char[1]' for default argument
   to `wxString'
make[2]: *** [MainWindow.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/var/tmp/portage/multiimonc-0.3.6/work/MultiImonC-0.3.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/multiimonc-0.3.6/work/MultiImonC-0.3.6'
make: *** [all] Error 2
Comment 4 Michael Hanselmann (hansmi) (RETIRED) gentoo-dev 2005-07-04 14:35:00 UTC
I've added a patch which fixes this problem. Can you test it, please?