> 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 in compiler, nor version problem.  That error basically 
tells you that the code has some 'bad practice' which may or may not cause 
you trouble someday:  conversion from a constant data pointer to 
something 'non-constant' is no more (and never should have been) allowed 
by default without forcing typecast (IMHO it shouldn't be allowed at all 
in any case).  What you can do, is to find the sections of code which make 
that error to arise and force a (char*) typecast.

---
DK


Reply via email to