View previous topic :: View next topic |
Author |
Message |
Gregoire Apprentice
Joined: 15 Apr 2006 Posts: 292
|
Posted: Sun Mar 30, 2008 12:41 pm Post subject: |
|
|
dirtyepic wrote: | Gregoire wrote: | It would be great if all those patches could get into mainline, or at least into an overlay |
you mean like the gcc-porting overlay? |
Yep exactly Thank you very much. |
|
Back to top |
|
|
Uzytkownik Guru
Joined: 31 Oct 2004 Posts: 399 Location: Bay Area, US
|
Posted: Sun Mar 30, 2008 1:15 pm Post subject: |
|
|
Please inform when you create one - possibly in this thread.
PS.
Will it be avaible via layman? _________________ I've probably left my head... somwhere. Please wait untill I find it. |
|
Back to top |
|
|
Gregoire Apprentice
Joined: 15 Apr 2006 Posts: 292
|
Posted: Sun Mar 30, 2008 2:43 pm Post subject: |
|
|
If you speak about gcc-porting it's already available through layman |
|
Back to top |
|
|
mikkoc Apprentice
Joined: 24 May 2007 Posts: 231
|
Posted: Mon Mar 31, 2008 12:08 pm Post subject: |
|
|
Hi,
does anyone have an ebuild for media-libs/libofa that compiles with gcc-4.3?
It's needed to compile media-libs/tunepimp
This is the error I get:
Code: | if /bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -march=core2 -O2 -pipe -Wall -g -MT trackdata_op.lo -MD -MP -MF ".deps/trackdata_op.Tpo" -c -o trackdata_op.lo trackdata_op.cpp; \
then mv -f ".deps/trackdata_op.Tpo" ".deps/trackdata_op.Plo"; else rm -f ".deps/trackdata_op.Tpo"; exit 1; fi
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -march=core2 -O2 -pipe -Wall -g -MT signal_op.lo -MD -MP -MF .deps/signal_op.Tpo -c signal_op.cpp -fPIC -DPIC -o .libs/signal_op.o
signal_op.cpp: In member function 'void Signal_op::RemoveSilence(double, double)':
signal_op.cpp:169: error: 'abs' was not declared in this scope
signal_op.cpp:192: error: 'abs' was not declared in this scope
signal_op.cpp: In member function 'void Signal_op::Normalize()':
signal_op.cpp:301: error: 'abs' was not declared in this scope
make[3]: *** [signal_op.lo] Error 1 |
Thanks |
|
Back to top |
|
|
easy target Tux's lil' helper
Joined: 09 Jan 2008 Posts: 134
|
Posted: Mon Mar 31, 2008 1:37 pm Post subject: |
|
|
mikkoc wrote: | Hi,
does anyone have an ebuild for media-libs/libofa that compiles with gcc-4.3?
It's needed to compile media-libs/tunepimp :( |
You have to create a patch which adds #include <cstdlib> to signal_op.cpp. |
|
Back to top |
|
|
mikkoc Apprentice
Joined: 24 May 2007 Posts: 231
|
|
Back to top |
|
|
rhill Retired Dev
Joined: 22 Oct 2004 Posts: 1629 Location: sk.ca
|
Posted: Thu Apr 03, 2008 2:05 am Post subject: |
|
|
i'm behind on adding all the bugzilla patches to the overlay (thanks for the bug reports btw, my mailbox overfloweth) due to getting a new laptop this week. as soon as i get some time i'll go through them all. _________________ by design, by neglect
for a fact or just for effect |
|
Back to top |
|
|
terrylava n00b
Joined: 04 Jan 2007 Posts: 8
|
Posted: Wed Apr 16, 2008 6:42 pm Post subject: |
|
|
I recently upgraded to gcc 4.3, and stuff wouldn't compile right, and I believe I read somewhere that i had to upgrade glibc to 2.7. I did that and got bugs in X. The keyboard would spit out double letters and eventually stop working. The mouse would stop working as well. I recompiled my kernel with the vanilla sources after that, because i read about a kernel bug that gcc 4.3 exposes. After this, I emerge -e world, and added patches to the packages that didn't already have them. and have pretty much everything running, only a few unpatched and broken packages on my pro-audio/gaming core 2 duo system.
Packages that don't compile atm:
gtkmm 2.2.12 (dependency of alsa-patch-bay. their newer one in the newer slot works fine, but doesn't work with alsa-patch-bay)
alsa-patch-bay(installed the fltk toolkit instead of gtkmm, but now alsa-patch-bay doesnt compile anway)
rosegarden
media-sound/muse
mplayerthumbs
kuroo
gnugp (i read somewhere that it's curl's fault, even though curl compiled fine)
Questions:
Was it necessary to upgrade glibc from 2.6.1 to 2.7?
What would be the proper order to upgrade these so I wouldn't run into any bugs like I did. I'm worried that it could have corrupted something important.
Where to I put all the bugs? Do I put them in gentoo bugs, or do i bug upstream about them first? |
|
Back to top |
|
|
terrylava n00b
Joined: 04 Jan 2007 Posts: 8
|
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Thu Apr 17, 2008 7:47 pm Post subject: |
|
|
terrylava wrote: | gnugp (i read somewhere that it's curl's fault, even though curl compiled fine) |
This dirty trick worked for me, although it probably broke some other stuff too.
Code: | # emerge --unmerge curl
# emerge --oneshot --nodeps gnupg
# emerge --oneshot curl |
|
|
Back to top |
|
|
terrylava n00b
Joined: 04 Jan 2007 Posts: 8
|
|
Back to top |
|
|
warrens Apprentice
Joined: 04 Jan 2005 Posts: 239 Location: Don't Tread On Me!
|
Posted: Fri Apr 18, 2008 10:32 pm Post subject: |
|
|
I had a problem with media-libs/akode-2.0.2 failing compile. After a bit of research on the internet I found a patch that allows for a successful install. The patch can be found here. _________________ The BIGGER the GOVERNMENT, the smaller the citizen.
DON'T TREAD ON ME!!!
My Bias #1
The best government is the government that governs least. |
|
Back to top |
|
|
cnrs n00b
Joined: 30 Sep 2007 Posts: 11
|
Posted: Sun Apr 20, 2008 4:12 pm Post subject: kde-base/kdepimlibs-4.0.3 does not compile :'( |
|
|
Hello all,
kde-base/kdepimlibs-4.0.3 does not compile with gcc-4.3 stable :'(
What is a solution please, if solution exist
Quote: | * Messages for package kde-base/kdepimlibs-4.0.3:
*
* ERROR: kde-base/kdepimlibs-4.0.3 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2584: Called kde4-base_src_compile
* environment, line 1935: Called kde4-base_src_configure
* environment, line 1955: Called cmake-utils_src_configureout
* environment, line 610: Called die
* The specific snippet of code:
* cmake ${cmakeargs} "${S}" || die "Cmake failed";
* The die message:
* Cmake failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/kde-base/kdepimlibs-4.0.3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/kde-base/kdepimlibs-4.0.3/temp/environment'.
* |
thx
Sorry all ! i not read this part...:
Quote: | -----------------------------------------------------------------------------
-- The following REQUIRED packages could NOT be located on your system.
-- Please install them before continuing this software installation.
-----------------------------------------------------------------------------
+ boost: Boost C++ Libraries <http://www.boost.org/>
Needed by libsyndication
-----------------------------------------------------------------------------
CMake Error: Exiting: Missing Requirements
CMake Error: This project requires some variables to be set,
and cmake can not find them.
Please set the following variables:
Boost_INCLUDE_DIR
|
... |
|
Back to top |
|
|
nbvcxz Guru
Joined: 02 Sep 2005 Posts: 379 Location: Kraków / PL
|
Posted: Sun Apr 20, 2008 4:21 pm Post subject: |
|
|
There is 'stable' gcc-4.3.0 in portage, but in toolchain overlay there are newer versions of alpha release (eg. gcc-4.3.0_alpha20080417) could you explain that? _________________ nBVCXz
zen-kernel (bfq compcache) | /tmp -> tmpfs | ext4 | zsh | xfce | schedtool |
|
Back to top |
|
|
unK l33t
Joined: 06 Feb 2007 Posts: 769
|
Posted: Sun Apr 20, 2008 4:32 pm Post subject: |
|
|
nbvcxz wrote: | There is 'stable' gcc-4.3.0 in portage, but in toolchain overlay there are newer versions of alpha release (eg. gcc-4.3.0_alpha20080417) could you explain that? |
I think those are actually 4.3.1 snapshots, not 4.3.0. _________________ ncmpcpp - featureful ncurses based MPD client inspired by ncmpc |
|
Back to top |
|
|
cnrs n00b
Joined: 30 Sep 2007 Posts: 11
|
Posted: Sun Apr 20, 2008 7:30 pm Post subject: :'( boost with gcc-4.3 |
|
|
Compil boost with gcc-4.3 is not easy :'( |
|
Back to top |
|
|
Uzytkownik Guru
Joined: 31 Oct 2004 Posts: 399 Location: Bay Area, US
|
Posted: Sun Apr 20, 2008 7:46 pm Post subject: |
|
|
There is one working with 4.3 in gcc-porting overlay. _________________ I've probably left my head... somwhere. Please wait untill I find it. |
|
Back to top |
|
|
Kenji Miyamoto Veteran
Joined: 28 May 2005 Posts: 1452 Location: Looking over your shoulder.
|
Posted: Tue Apr 22, 2008 3:32 am Post subject: |
|
|
It looks like I am unable to build Qt3 with GCC 4.3.0: Code: | cd codecs && /usr/bin/make -f Makefile
make[2]: Entering directory `/var/tmp/paludis/x11-libs-qt-3.3.8-r4/work/qt-x11-free-3.3.8/plugins/src/codecs'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/var/tmp/paludis/x11-libs-qt-3.3.8-r4/work/qt-x11-free-3.3.8/plugins/src/codecs'
cd imageformats && /usr/bin/make -f Makefile
make[2]: Entering directory `/var/tmp/paludis/x11-libs-qt-3.3.8-r4/work/qt-x11-free-3.3.8/plugins/src/imageformats'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/var/tmp/paludis/x11-libs-qt-3.3.8-r4/work/qt-x11-free-3.3.8/plugins/src/imageformats'
cd inputmethods && /usr/bin/make -f Makefile
make[2]: Entering directory `/var/tmp/paludis/x11-libs-qt-3.3.8-r4/work/qt-x11-free-3.3.8/plugins/src/inputmethods'
cd imsw-none && /usr/bin/make -f Makefile
make[3]: Entering directory `/var/tmp/paludis/x11-libs-qt-3.3.8-r4/work/qt-x11-free-3.3.8/plugins/src/inputmethods/imsw-none'
/var/tmp/paludis/x11-libs-qt-3.3.8-r4/work/qt-x11-free-3.3.8/bin/qmake -spec /var/tmp/paludis/x11-libs-qt-3.3.8-r4/work/qt-x11-free-3.3.8/mkspecs/linux-g++ -o /var/tmp/paludis/x11-libs-qt-3.3.8-r4/work/qt-x11-free-3.3.8/./plugins/src/inputmethods/imsw-none /var/tmp/paludis/x11-libs-qt-3.3.8-r4/work/qt-x11-free-3.3.8/plugins/src/inputmethods/imsw-none/imsw-none.pro
cd /var/tmp/paludis/x11-libs-qt-3.3.8-r4/work/qt-x11-free-3.3.8/./plugins/src/inputmethods/imsw-none
/usr/bin/make Makefile
make[4]: Entering directory `/var/tmp/paludis/x11-libs-qt-3.3.8-r4/work/qt-x11-free-3.3.8/plugins/src/inputmethods/imsw-none'
make[4]: `Makefile' is up to date.
make[4]: Leaving directory `/var/tmp/paludis/x11-libs-qt-3.3.8-r4/work/qt-x11-free-3.3.8/plugins/src/inputmethods/imsw-none'
make[3]: Leaving directory `/var/tmp/paludis/x11-libs-qt-3.3.8-r4/work/qt-x11-free-3.3.8/plugins/src/inputmethods/imsw-none'
make[3]: Entering directory `/var/tmp/paludis/x11-libs-qt-3.3.8-r4/work/qt-x11-free-3.3.8/plugins/src/inputmethods/imsw-none'
x86_64-pc-linux-gnu-g++ -c -pipe -I/usr/include/postgresql/server -I/usr/include/postgresql/pgsql -I/usr/include/postgresql/pgsql/server -fno-exceptions -Wall -W -g -D_REENTRANT -fPIC -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -DQT_NO_DEBUG -I/var/tmp/paludis/x11-libs-qt-3.3.8-r4/work/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I. -I../../../../include -I/usr/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qnoneinputcontextplugin.o qnoneinputcontextplugin.cpp
qnoneinputcontextplugin.cpp: In member function 'virtual QInputContext* QNoneInputContextPlugin::create(const QString&)':
qnoneinputcontextplugin.cpp:72: error: 'getenv' was not declared in this scope
qnoneinputcontextplugin.cpp: At global scope:
qnoneinputcontextplugin.cpp:82: warning: unused parameter 'key'
qnoneinputcontextplugin.cpp:87: warning: unused parameter 'key'
qnoneinputcontextplugin.cpp:92: warning: unused parameter 'key'
make[3]: *** [.obj/release-shared-mt/qnoneinputcontextplugin.o] Error 1
make[3]: Leaving directory `/var/tmp/paludis/x11-libs-qt-3.3.8-r4/work/qt-x11-free-3.3.8/plugins/src/inputmethods/imsw-none'
make[2]: *** [sub-imsw-none] Error 2
make[2]: Leaving directory `/var/tmp/paludis/x11-libs-qt-3.3.8-r4/work/qt-x11-free-3.3.8/plugins/src/inputmethods'
make[1]: *** [sub-inputmethods] Error 2
make[1]: Leaving directory `/var/tmp/paludis/x11-libs-qt-3.3.8-r4/work/qt-x11-free-3.3.8/plugins/src'
make: *** [sub-plugins] Error 2
!!! ERROR in x11-libs/qt-3.3.8-r4:
!!! In src_compile at line 3677
!!! (no message provided)
!!! Call stack:
!!! * src_compile (/var/tmp/paludis/x11-libs-qt-3.3.8-r4/temp/loadsaveenv:3677)
!!! * ebuild_f_compile (/usr/libexec/paludis/0/src_compile.bash:49)
!!! * ebuild_main (/usr/libexec/paludis/ebuild.bash:462)
!!! * main (/usr/libexec/paludis/ebuild.bash:480)
diefunc: making ebuild PID 20422 exit with error
die trap: exiting with error.
Install error:
* In program paludis --dl-upgrade as-needed -i =x11-libs/qt-3*:
* When performing install action from command line:
* When executing install task:
* When installing 'x11-libs/qt-3.3.8-r4:3::gentoo':
* Install error: Install failed for 'x11-libs/qt-3.3.8-r4:3::gentoo'
Summary of failures:
* x11-libs/qt-3.3.8-r4:3::gentoo: failure
Total: 1 package, 0 successes, 0 skipped, 1 failure, 0 unreached
Resume command: paludis --log-level qa --install --add-to-world-spec '=x11-libs/qt-3*' --serialised 0.25 'package;=x11-libs/qt-3.3.8-r4:3::gentoo;installed;has_all_deps;P'
* You have 5 unread news items (use 'eselect news' to read)
* Searching for configuration files requiring action...
* No configuration file updates required |
Code: | paludis 0.26.0_pre2
Paludis build information:
Compiler:
CXX: x86_64-pc-linux-gnu-g++ 4.3.0
CXXFLAGS: -march=barcelona -mmmx -m3dnow -msse -msse2 -mfpmath=sse -O2 -pipe
LDFLAGS:
DATE: 2008-04-21T21:51:25-0700
Libraries:
C++ Library: GNU libstdc++ 20080305
Reduced Privs:
reduced_uid: 103
reduced_uid->name: paludisbuild
reduced_uid->dir: /var/tmp/paludis
reduced_gid: 1004
reduced_gid->name: paludisbuild
Paths:
DATADIR: /usr/share
LIBDIR: /usr/lib64
LIBEXECDIR: /usr/libexec
SYSCONFDIR: /etc
PYTHONINSTALLDIR: /usr/lib64/python2.5/site-packages
RUBYINSTALLDIR:
Repository virtuals:
format: virtuals
Repository installed-virtuals:
format: installed_virtuals
root: /
Repository gentoo:
format: ebuild
location: /usr/portage
append_repository_name_to_write_cache: true
binary_destination: false
binary_keywords:
binary_uri_prefix:
builddir: /var/tmp/paludis
cache: /usr/portage/metadata/cache
distdir: /usr/portage/distfiles
eapi_when_unknown: 0
eapi_when_unspecified: 0
eclassdirs: /usr/portage/eclass
ignore_deprecated_profiles: false
layout: traditional
names_cache: /usr/portage/.cache/names
newsdir: /usr/portage/metadata/news
profile_eapi: 0
profiles: /usr/portage/profiles/default-linux/amd64/2007.0/desktop
securitydir: /usr/portage/metadata/glsa
setsdir: /usr/portage/sets
sync: rsync://superbob.neilnet/gentoo-portage/
sync_options:
use_manifest: use
write_cache: /var/cache/paludis/metadata
Package information:
app-admin/eselect-compiler: (none)
app-shells/bash: 3.2_p33
dev-java/java-config: (none)
dev-lang/python: 2.4.3-r4 2.5.2-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache: (none)
dev-util/confcache: (none)
sys-apps/baselayout: 2.0.0
sys-apps/openrc: 0.2.2
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13 2.62
sys-devel/automake: 1.10.1 1.5 1.7.9-r1 1.9.6-r2
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.25-r1 (for sys-kernel/linux-headers::installed)
.... | I've fixed that getenv problem with an include directive, but then I get "error: ‘lower_bound’ is not a member of ‘std’" in qsimpleinputcontext.cpp. I would use 4.2.3 to compile it, but it's been having some serious issues of its own (segfaults) ever since I installed Gentoo on this computer (three days ago). _________________ [ Kawa-kun, new and improved!! ]
Alex Libman seems to be more of an anarchist than a libertarian. |
|
Back to top |
|
|
cneil n00b
Joined: 28 May 2007 Posts: 39 Location: Stillwater, OK
|
Posted: Tue Apr 22, 2008 4:08 am Post subject: |
|
|
Kenji Miyamoto wrote: | I've fixed that getenv problem with an include directive, but then I get "error: ‘lower_bound’ is not a member of ‘std’" in qsimpleinputcontext.cpp. I would use 4.2.3 to compile it, but it's been having some serious issues of its own (segfaults) ever since I installed Gentoo on this computer (three days ago). |
Try putting a #include <algorithm> in qsimpleinputcontext.cpp. |
|
Back to top |
|
|
warrens Apprentice
Joined: 04 Jan 2005 Posts: 239 Location: Don't Tread On Me!
|
Posted: Tue Apr 22, 2008 4:56 am Post subject: |
|
|
@Kenji Miyamoto
Do you have imqt-bc in your USE flags for qt3? I have had the same failure with qt3 and gcc-4.3.0 with USE="imqt-bc". qt3 compiles fine without imqt-bc, but if you need scim this does not help. I have not been able to find a patch for this on the internet. _________________ The BIGGER the GOVERNMENT, the smaller the citizen.
DON'T TREAD ON ME!!!
My Bias #1
The best government is the government that governs least. |
|
Back to top |
|
|
Kenji Miyamoto Veteran
Joined: 28 May 2005 Posts: 1452 Location: Looking over your shoulder.
|
Posted: Tue Apr 22, 2008 6:26 am Post subject: |
|
|
With those couple of minute fixes, Qt3 builds just fine. I need the flag, since the regular immqt one is useless for use with SCIM.
However, now that I've gotten around to SCIM, Kasumi fails: Code: | make all-recursive
make[1]: Entering directory `/var/tmp/paludis/app-dicts-kasumi-2.3/work/kasumi-2.3'
Making all in intl
make[2]: Entering directory `/var/tmp/paludis/app-dicts-kasumi-2.3/work/kasumi-2.3/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/paludis/app-dicts-kasumi-2.3/work/kasumi-2.3/intl'
Making all in m4
make[2]: Entering directory `/var/tmp/paludis/app-dicts-kasumi-2.3/work/kasumi-2.3/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/paludis/app-dicts-kasumi-2.3/work/kasumi-2.3/m4'
Making all in po
make[2]: Entering directory `/var/tmp/paludis/app-dicts-kasumi-2.3/work/kasumi-2.3/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/paludis/app-dicts-kasumi-2.3/work/kasumi-2.3/po'
make[2]: Entering directory `/var/tmp/paludis/app-dicts-kasumi-2.3/work/kasumi-2.3'
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -march=barcelona -mmmx -m3dnow -msse -msse2 -mfpmath=sse -O3 -pipe -Wall -MT KasumiAddWindow.o -MD -MP -MF ".deps/KasumiAddWindow.Tpo" -c -o KasumiAddWindow.o KasumiAddWindow.cxx; \
then mv -f ".deps/KasumiAddWindow.Tpo" ".deps/KasumiAddWindow.Po"; else rm -f ".deps/KasumiAddWindow.Tpo"; exit 1; fi
KasumiAddWindow.cxx: In constructor ‘KasumiAddWindow::KasumiAddWindow(KasumiDic*, KasumiConfiguration*)’:
KasumiAddWindow.cxx:122: error: no matching function for call to ‘find(std::_List_iterator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_List_iterator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::string&)’
make[2]: *** [KasumiAddWindow.o] Error 1
make[2]: Leaving directory `/var/tmp/paludis/app-dicts-kasumi-2.3/work/kasumi-2.3'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/paludis/app-dicts-kasumi-2.3/work/kasumi-2.3'
make: *** [all] Error 2 | Unfortunately, I don't know enough STL-style C++ to fix this. Does anyone else have any ideas? _________________ [ Kawa-kun, new and improved!! ]
Alex Libman seems to be more of an anarchist than a libertarian. |
|
Back to top |
|
|
Eckos Apprentice
Joined: 25 Jan 2008 Posts: 197 Location: Houston, Texas, USA
|
Posted: Tue Apr 22, 2008 2:17 pm Post subject: |
|
|
it means the wrong type of data is being sent to the constructor. _________________ AMD Athlon 64 X2 3800+ | 2GB DDR2 533MHz RAM | GCC-4.3.2 | Gentoo x86_64 | KDE 4.1.2 |
|
Back to top |
|
|
Kenji Miyamoto Veteran
Joined: 28 May 2005 Posts: 1452 Location: Looking over your shoulder.
|
Posted: Tue Apr 22, 2008 2:28 pm Post subject: |
|
|
It compiles under GCC 4.2, though. What would I have to change?: Code: | ....
GtkTreeIter iter;
WordTypeList::iterator p = KasumiWordType::beginWordTypeList();
list<string> wordCategoryList;
while(p != KasumiWordType::endWordTypeList())
{
string category = (*p)->getCategory();
if( find( wordCategoryList.begin(), wordCategoryList.end(), category )
== wordCategoryList.end() )
{
wordCategoryList.push_back( category );
.... | It looks like the find function is the issue, not the constructor. Why is this wrong?
EDIT: Looks like the algorithm header just needs to be included. All is good, then. _________________ [ Kawa-kun, new and improved!! ]
Alex Libman seems to be more of an anarchist than a libertarian.
Last edited by Kenji Miyamoto on Tue Apr 22, 2008 2:47 pm; edited 1 time in total |
|
Back to top |
|
|
Eckos Apprentice
Joined: 25 Jan 2008 Posts: 197 Location: Houston, Texas, USA
|
Posted: Tue Apr 22, 2008 2:34 pm Post subject: |
|
|
I have no idea. I don't know the api. _________________ AMD Athlon 64 X2 3800+ | 2GB DDR2 533MHz RAM | GCC-4.3.2 | Gentoo x86_64 | KDE 4.1.2 |
|
Back to top |
|
|
Phoenix591 Guru
Joined: 17 Sep 2007 Posts: 492
|
Posted: Tue Apr 22, 2008 4:03 pm Post subject: |
|
|
sorry if this was posted earlier in the thread, but kernel 2.6.25 compiles (and runs) fine with gcc 4.3.0 . |
|
Back to top |
|
|
|