[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-source-highlight] source-highlight on solaris?
From: |
Lorenzo Bettini |
Subject: |
Re: [Help-source-highlight] source-highlight on solaris? |
Date: |
Wed, 21 Apr 2010 09:29:05 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 |
On 04/20/2010 10:29 AM, Stefan Palm wrote:
Hi folks.
I'm having problems to build source-highlight 3.1.3 on solaris10 (sparc). Using
the sunstudio compiler (12.1) I get the following error quite at the beginning
of the build process:
--- SunStudio ---
/bin/bash ../../libtool --tag=CXX --mode=compile CC -DHAVE_CONFIG_H -I.
-I../.. -I../../src -I../../gl -I../../gl -I/swmtools/include
-I/swmtools/include -I/swmtools/include/boost -c -o langelemsprinter.lo
langelemsprinter.cpp
libtool: compile: CC -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../gl
-I../../gl -I/swmtools/include -I/swmtools/include/boost -c
langelemsprinter.cpp -KPIC -DPIC -o .libs/langelemsprinter.o
"langelemsprinter.cpp", line 64: Error: Could not find a match for
std::set<std::string>::insert(std::list<std::string>::const_iterator,
std::list<std::string>::const_iterator) needed in srchilite::LangElemsPrinter::collect(const
srchilite::NamedSubExpsLangElem*).
1 Error(s) detected.
gmake[4]: *** [langelemsprinter.lo] Error 1
gmake[4]: Leaving directory
`/home/spalm0/work/source-highlight-3.1.3/lib/srchilite'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory
`/home/spalm0/work/source-highlight-3.1.3/lib/srchilite'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/home/spalm0/work/source-highlight-3.1.3/lib'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/spalm0/work/source-highlight-3.1.3'
gmake: *** [all] Error 2
it looks like that
std::set::insert which takes two iterators is standard in stl:
http://www.cplusplus.com/reference/stl/set/insert/
can it be that your sparc compiler stl implementation is not standard or
too old?
At the above link there's an example using insert, could you please try
to compile it with your sparc compiler and see whether that works?
thanks in advance
Lorenzo
--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net
- [Help-source-highlight] source-highlight on solaris?, Stefan Palm, 2010/04/20
- Fwd: [Help-source-highlight] source-highlight on solaris?, Stefan Palm, 2010/04/21
- Re: [Help-source-highlight] source-highlight on solaris?, Stefan Palm, 2010/04/21
- Re: [Help-source-highlight] source-highlight on solaris?, Stefan Palm, 2010/04/21
- Re: [Help-source-highlight] source-highlight on solaris?, Stefan Palm, 2010/04/23
- Re: [Help-source-highlight] source-highlight on solaris?, Stefan Palm, 2010/04/26