Hello Rooters, Using egcs with root and I'm finding compiling errors like: /usr/local/root/include/TROOT.h:175: invalid type `const char[3]' for default argument to `Text_t *' Which for this case refers to: void SetDefCanvasName( Text_t *name="c1") {fDefCanvasName = name;} Now this seems to be fixed if I cast "c1" as (Text_t *) But then as soon as I fix this I find a similar error with: TColor.h:34: invalid type `const char[1]' for default argument to `Text_t *' Do I have to fix every occurrence, or better, is there a compiler switch that I'm missing which will fix this? -- Paul M. Eugenio Dept. of Physics Carnegie Mellon University (412) 268 6949 eugenio@ernest.phys.cmu.edu _____________________________________________________ / The scholar should know; one builds science with \ o O 0 / the facts just like a house can be built of stones; \ o | but an accumulation of facts is not a science just like | `\|||/ \ that a pile of stones is not a house. / (o o) \_____________________________________________________/ ooO_(_)_Ooo___________________________________________Henri Poincare'_ _____|_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|____ __|_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|_ _____|_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|____
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:41 MET