ian: thanks for answer
The problem with functions is that parametr m_nSSTime is of type time_t
I wonder that in declarations there are only long,short and bool
I tried to use (unsigned long)m_nSSTime,but that doesn't help
So,just for experimental purporses I've changed
time_t m_nSSTime
to
unsigned long m_nSSTime
in include files.
And this file compiled succesfully,but I suspect some unstable work of a daemon
after all this code patches
And the final problem
in file rtf.cc there is a class:
class RTF2HTML
{
public:
RTF2HTML(CICQDaemon *server)
: rtf_ptr(NULL), m_pDaemon(server), cur_level(this) {}
string Parse(const char *rtf);
void PrintUnquoted(const char *str, ...);
void PrintQuoted(const char *str);
protected:
string s;
const char *rtf_ptr;
CICQDaemon *m_pDaemon;
void PutTag(Tag n) { tags.push(n); }
vector<OutTag> oTags;
stack<Tag> tags;
stack<Level> stack;
The last line stack<Level> stack; produces error:
Error: Redefining std::stack<std::T, std::Container> after use in
std::allocator<fontDef>
"/export/home/stud11/SUNWspro/prod/include/CC/Cstd/./vector", line 91:
Where: While specializing "std::allocator<fontDef>".
"/export/home/stud11/SUNWspro/prod/include/CC/Cstd/./vector", line 91:
Where: Specialized in std::vector<fontDef>.
I don't have any idea why CC complains about redefining=((
I tried to change error line to stack<Level,deque<Level> > stack; but that
doesn't help
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
[email protected]
https://opensolaris.org:444/mailman/listinfo/opensolaris-code