Re: [Pixil-devel] help
Yoshio Kashiwagi <[email protected]> Tue, 24 Aug 2004 10:05:14 +0900
| Newsgroups | gmane.comp.web.viewml.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I also had the same problem just last week.
Using gcc-3.2, if a source code is corrected by the following
processes, compile errors will be solved.
1. Correct difference in STL part.
(1) std:: is added to string, vector, stack, and a map base class.
Ex) src/fltk/qstring.h
-class QString : public string
+class QString : public std::string
{
protected:
bool m_bNull;
public:
QString() { m_bNull = true; }
QString(int x) { m_bNull = true; }
- QString(const string & s) { assign(s.c_str()); m_bNull = false; }
+ QString(const std::string & s) { assign(s.c_str()); m_bNull = false; }
QString(const QString & s) { assign(s.c_str()); m_bNull = false;}
QString(const char * c) { if(c) assign(c); m_bNull = false;}
(2) Implicit typename
Ex) src/fltk/qdict.h
virtual void clear()
{
- map<string,T*>::iterator pos;
+ typename std::map<std::string,T*>::iterator pos;
if(m_bAutoDelete) {
for(pos=m_Map.begin(); pos != m_Map.end(); ++pos)
delete pos->second;
}
m_Map.clear();
}
Best regards,
Yoshio
>Hi,
>
>I'm new to Pixil. Currently trying to integrate ViewML into a ucLinux
embedded system.
>Need help here. Can anyone point me in the right direction?
>
>1. Reference to the newest ViewML distribution what's the latest gcc
cross compiler plus bin utils that
>have been known to compile fine with it and flnx and where can I download
them? There wasn't much threads in the mailing list
>correspondence to help me. Last read that gcc-2.9-6 works - that was the
general poll.
>
>2. From some of the threads seem like compilation is a nightmare. Can
anyone give me some directions
>(prob someone who had tried compiling in a similar environment) as to
what to look out for and compile
>this thing with the path of least resistance?
>
>3. If pt 2 is too long for anyone to type, is there anywhere like a
archive that actually talks about this?
>
>I really need to get this up quick.
>Any help will be very much appreciate!
>
>Chang
>______________________________________________________________________
>
>_______________________________________________
>Pixil-devel mailing list
>[email protected]
>http://www.pixil.org/cgi-bin/mailman/listinfo/pixil-devel