471,089 Members | 1,219 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,089 software developers and data experts.

Sun CC weird compiling message : is out-of-date and will be regenerated

Hello,

I got weird compiling message similar like following when I compiled my
simple code on Sun 5.8 with CC WorkShop 6 update 2 C++ 5.3.

CC -g -o myclass.o -c myclass.cpp
CC -g -o main.o -c main.cpp
CC -g -L/usr/lib -lsocket -lnsl -o main myclass.o main.o
__1cH__rwstdJ__rb_tree4CpknJmyclassHCSOCKET_nDstdE pair4Ck4n0BNCSOCKEVENTMGRJ
SOCKEVENT___n0AL__select1st4n0G_C4__n0DEless4C4__n 0DJallocator4n0G____Efind6
kMr6_n0KIiterator__ is out-of-date and will be regenerated

These messages didn't stop the compiling, the binary is generated correctly.
But I wonder why these messages displayed?

One thing I have to mention is that, in the code, I use STL map template, I
guess STL could be a suspect. I am thinking maybe my compiling line should
do something for STL?

Thanks in advance for your help.

M.
Jul 23 '05 #1
3 3456
modemer wrote:
I got weird compiling message similar like following when I compiled my
simple code on Sun 5.8 with CC WorkShop 6 update 2 C++ 5.3.
[..]
These messages didn't stop the compiling, the binary is generated correctly.
But I wonder why these messages displayed?
[..]


Messages are compiler-specific and are not defined by the language itself.
You might find it more useful to ask in a newsgroup that deals with your
compiler, where compiler-specific inquiries are on topic.

V
Jul 23 '05 #2
modemer wrote:
Hello,

I got weird compiling message similar like following when I compiled my
simple code on Sun 5.8 with CC WorkShop 6 update 2 C++ 5.3.

CC -g -o myclass.o -c myclass.cpp
CC -g -o main.o -c main.cpp
CC -g -L/usr/lib -lsocket -lnsl -o main myclass.o main.o
__1cH__rwstdJ__rb_tree4CpknJmyclassHCSOCKET_nDstdE pair4Ck4n0BNCSOCKEVENTMGRJ
SOCKEVENT___n0AL__select1st4n0G_C4__n0DEless4C4__n 0DJallocator4n0G____Efind6
kMr6_n0KIiterator__ is out-of-date and will be regenerated

These messages didn't stop the compiling, the binary is generated correctly.
But I wonder why these messages displayed?
Maybe generated template code is stored in separate files, which are
re-generated when the compiler deems so?? Look around, do you see
suspicious files?
One thing I have to mention is that, in the code, I use STL map template, I
guess STL could be a suspect. I am thinking maybe my compiling line should
do something for STL?


Yes, probably: rwstd points to Rogue Wave and rb_tree to a red-black
tree inside map.

Jul 23 '05 #3

"Panjandrum" <pa********@spambob.com> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
modemer wrote:
Hello,

I got weird compiling message similar like following when I compiled my
simple code on Sun 5.8 with CC WorkShop 6 update 2 C++ 5.3.

CC -g -o myclass.o -c myclass.cpp
CC -g -o main.o -c main.cpp
CC -g -L/usr/lib -lsocket -lnsl -o main myclass.o main.o
__1cH__rwstdJ__rb_tree4CpknJmyclassHCSOCKET_nDstdE pair4Ck4n0BNCSOCKEVENTMGRJ SOCKEVENT___n0AL__select1st4n0G_C4__n0DEless4C4__n 0DJallocator4n0G____Efind6 kMr6_n0KIiterator__ is out-of-date and will be regenerated

These messages didn't stop the compiling, the binary is generated correctly. But I wonder why these messages displayed?


Maybe generated template code is stored in separate files, which are
re-generated when the compiler deems so?? Look around, do you see
suspicious files?

Normally Sun Workshop creates a subdirectory "SunWS_cache" in the current
directory. After I removed this subdirectory, the problem is gone, but the
problem did come back when I touched one of the source file and rebuilt. The
only way I can image is that this subdirectory is refreshed correctly.
One thing I have to mention is that, in the code, I use STL map template, I guess STL could be a suspect. I am thinking maybe my compiling line should do something for STL?


Yes, probably: rwstd points to Rogue Wave and rb_tree to a red-black
tree inside map.


Panjandrum, thank you very much for your help!

M.
Jul 23 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

11 posts views Thread by HelLind | last post: by
1 post views Thread by Manuel Maria Diaz Gomez | last post: by
9 posts views Thread by Steven | last post: by
20 posts views Thread by Pascal Gallois | last post: by
2 posts views Thread by Lasse Edsvik | last post: by
2 posts views Thread by Lisa Calla | last post: by
5 posts views Thread by yezi | last post: by
4 posts views Thread by A | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.