Richard A. O'Keefe
2004-May-25 04:38 UTC
[R] e1071, R1.9.0, Solaris 2.9, should I be worried?
In R 1.9.0 running under Solaris 2.9 on a SunBlade 100, with "Sun WorkShop 6 update 2 C++ 5.3 2001/05/15" as the C++ compiler, I just did> install.packages("e1071")The output includes these lines, which I have wrapped to fit nicely in mail: ** libs cc -I/users/local/lib/R/include -I/usr/local/include -KPIC -xlibmil \ -dalign -xO4 -c cmeans.c -o cmeans.o cc -I/users/local/lib/R/include -I/usr/local/include -KPIC -xlibmil \ -dalign -xO4 -c cshell.c -o cshell.o cc -I/users/local/lib/R/include -I/usr/local/include -KPIC -xlibmil \ -dalign -xO4 -c floyd.c -o floyd.o cc -I/users/local/lib/R/include -I/usr/local/include -KPIC -xlibmil \ -dalign -xO4 -c Rsvm.c -o Rsvm.o CC -I/users/local/lib/R/include -I/usr/local/include -KPIC -xlibmil \ -dalign -xO4 -c svm.cpp -o svm.o "svm.cpp", line 444: Warning: l hides Solver::l. "svm.cpp", line 444: Warning: Q hides Solver::Q. "svm.cpp", line 444: Warning: Cp hides Solver::Cp. "svm.cpp", line 444: Warning: Cn hides Solver::Cn. "svm.cpp", line 444: Warning: eps hides Solver::eps. "svm.cpp", line 507: Warning: String literal converted to char* in formal argument fmt in call to info(char*, ...). "svm.cpp", line 517: Warning: String literal converted to char* in formal argument fmt in call to info(char*, ...). "svm.cpp", line 690: Warning: String literal converted to char* in formal argument fmt in call to info(char*, ...). "svm.cpp", line 881: Warning: l hides Solver::l. "svm.cpp", line 881: Warning: Q hides Solver::Q. "svm.cpp", line 881: Warning: b hides Solver::b. "svm.cpp", line 881: Warning: y hides Solver::y. "svm.cpp", line 881: Warning: alpha hides Solver::alpha. "svm.cpp", line 881: Warning: Cp hides Solver::Cp. "svm.cpp", line 881: Warning: Cn hides Solver::Cn. "svm.cpp", line 881: Warning: eps hides Solver::eps. "svm.cpp", line 881: Warning: si hides Solver_NU::si. "svm.cpp", line 1278: Warning: String literal converted to char* in formal argument fmt in call to info(char*, ...). "svm.cpp", line 1328: Warning: String literal converted to char* in formal argument fmt in call to info(char*, ...). "svm.cpp", line 1404: Warning: String literal converted to char* in formal argument fmt in call to info(char*, ...). "svm.cpp", line 1439: Warning: String literal converted to char* in formal argument fmt in call to info(char*, ...). "svm.cpp", line 1483: Warning: String literal converted to char* in formal argument fmt in call to info(char*, ...). "svm.cpp", line 1507: Warning: String literal converted to char* in formal argument fmt in call to info(char*, ...). "svm.cpp", line 1719: Warning: String literal converted to char* in formal argument fmt in call to info(char*, ...). 24 Warning(s) detected. How worried should I be? I guess the "Warning: x hides Solver::x" warnings related to a deliberate style choice, but what about the "String literal converted to char*" ones?
Orit Harel (Gdalyahu)
2004-Jun-09 12:28 UTC
[R] e1071, R1.9.0, Solaris 2.9, should I be worried?
Hi How are you ? Did you get any answer regarding "String literal converted to char*" ? Thanks. Thanks and regards, Orit Harel * 972-9-7767513 * OritG@Amdocs.com The information contained in this message is proprietary of Amdocs, protected from disclosure, and may be privileged. The information is intended to be conveyed only to the designated recipient(s) of the message. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, use, distribution or copying of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. [[alternative HTML version deleted]]
On Tue, May 25, 2004 at 04:38:44PM +1200, Richard A. O'Keefe wrote:> In R 1.9.0 running under Solaris 2.9 on a SunBlade 100, > with "Sun WorkShop 6 update 2 C++ 5.3 2001/05/15" as the > C++ compiler, I just did> > How worried should I be? > I guess the "Warning: x hides Solver::x" warnings related to a deliberate > style choice, but what about the "String literal converted to char*" ones?as the message says, things like info("Exceeds max_iter in multiclass_prob\n"); and the info() accepts char * as parameter