--- Matthew Martin <[EMAIL PROTECTED]> wrote: > Hey all, new to the group, though I've been using rom for several years now. > > I had a question I was hoping someone could help me out with regarding Linux > compiling. I recently built and installed my new Linux machine, and I've > been running a windows ported Rom2.4b source for several months. I wanted to > transfer it over to the Linux box and compile. I copied all of the source > files over, and modified the makefile to reflect any new files I was making. > (Basically, I followed the directions on the Rom website). However, I seem > to keep getting compiler errors for the same message: invalid conversion > from const char to *char. Was wondering if this is a known compiler bug, or > perhaps a problem with a version, or something.
It's not a bug it's a feature. I'm surprised your windows compiler didn't complain about the same. It's telling you that you're trying to pass a const string into a function that doesn't garauntee constness. Either use a mutable string or change the function to take a const (assuming it doesn't need to change the string). ~Kender ===== -----BEGIN GEEK CODE BLOCK----- Version 3.1 GCS/L/C/O d-(+) s++: a-- C+++$>++++ UBLS++++$ P+++(--)$ L+++>++++ E--- W+>++$ N !o K? w(--) !O M- !V PS+ PE(++) Y+ PGP->+ t+ 5 X+() R(+) tv+@ b++(+++) !DI+++ D G(-) e>+++$ h---() r+++ y+++ ------END GEEK CODE BLOCK------ __________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - establish your business online http://webhosting.yahoo.com

