GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Warning gcc>4.2.1: Deprecated conversion from string constant to...
Warning gcc>4.2.1: Deprecated conversion from string constant to... [message #7140] Fri, 01 August 2008 12:08 Go to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *physik.uni-giessen.de
Dear all,
it seems that starting from gcc 4.2.1 new warnings appear in our code:

warning: deprecated conversion from string constant to 'Text_t*'

They come each time we write something like rtdb->getContainer("PndGeoPassivePar"), more in general when we write a string directly in our function, instead of defining it as a string and then passing the variable to the code.

The question is: should we care about this? If I have understood well in the more recent releases of gcc this warning becomes an error...
 
Read Message
Read Message
Read Message
Previous Topic: Problems with run_sim1.C && gcc < 4.x ?
Next Topic: Pipe design
Goto Forum:
  


Current Time: Fri Nov 29 22:28:08 CET 2024

Total time taken to generate the page: 0.00793 seconds