Hi, guys,

When I build NS2.30 all in one in my OpenSolaris, it encounters an error that 
the compiler use the strchr function with the return value of "const char *" 
not the "char *", which is what I needed.

But when I use the "man strchr", there are both of the functions in the 
mannual. But both are in the head file of "string.h".

Anybody knows how to solve this problem? Or maybe I need to use GCC instead of 
SunStudio?

Regards,
Xizhi
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to