Hi,

I am using gcc-4.2.2 which emits warings like
build/_lucene/__wrap01__.cpp:42773: warning: 
  deprecated conversion from string constant to 'char*'

for code similar to

void  print( char* message ) { ... }

and calling this with

print "Hello world";

The solution is to declare
void  print( const char* message ) { ... }

Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to