| Bug in Tpc (rev. 1070) [message #4611] | 
			Wed, 04 July 2007 08:23   | 
		 
		
			
				
				
				
					
						  
						Ralf Kliemt
						 Messages: 508 Registered: May 2007  Location: GSI, Darmstadt
						
					 | 
					first-grade participant  | 
					  From: 159.93.129*
  | 
		 
		 
	 | 
 
	
		Bug in rev. 1070: 
 
[ 52%] Building CXX object tpc/CMakeFiles/tpc.dir/TpcSpaceChargeTask.o
/home/ralfk/Pandaroot/pandaroot/tpc/TpcSpaceChargeTask.cxx: In member function ‘virtual void TpcSpaceChargeTask::Exec(const Option_t*)’:
/home/ralfk/Pandaroot/pandaroot/tpc/TpcSpaceChargeTask.cxx:127: warning: converting to ‘int’ from ‘double’
[ 52%] Building CXX object tpc/CMakeFiles/tpc.dir/TpcAbsField.o
[ 52%] Building CXX object tpc/CMakeFiles/tpc.dir/TpcFieldCylGrid.o
/home/ralfk/Pandaroot/pandaroot/tpc/TpcFieldCylGrid.cxx: In member function ‘virtual void TpcFieldCylGrid<type>::print(std::ostream&) const’:
/home/ralfk/Pandaroot/pandaroot/tpc/TpcFieldCylGrid.cxx:87: error: there are no arguments to ‘nominal’ that depend on a template parameter, so a declaration of ‘nominal’ must be available
/home/ralfk/Pandaroot/pandaroot/tpc/TpcFieldCylGrid.cxx:87: error: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/home/ralfk/Pandaroot/pandaroot/tpc/TpcFieldCylGrid.cxx:88: error: there are no arguments to ‘scale’ that depend on a template parameter, so a declaration of ‘scale’ must be available
/home/ralfk/Pandaroot/pandaroot/tpc/TpcFieldCylGrid.cxx: In member function ‘virtual bool TpcFieldCylGrid<type>::pointOk(const TVector3&) const’:
/home/ralfk/Pandaroot/pandaroot/tpc/TpcFieldCylGrid.cxx:119: error: ‘_relPosition’ was not declared in this scope
/home/ralfk/Pandaroot/pandaroot/tpc/TpcFieldCylGrid.cxx: In member function ‘type TpcFieldCylGrid<type>::evalValue(const TVector3&) const’:
/home/ralfk/Pandaroot/pandaroot/tpc/TpcFieldCylGrid.cxx:177: error: there are no arguments to ‘nominal’ that depend on a template parameter, so a declaration of ‘nominal’ must be available
/home/ralfk/Pandaroot/pandaroot/tpc/TpcFieldCylGrid.cxx:180: error: ‘_relPosition’ was not declared in this scope
make[2]: *** [tpc/CMakeFiles/tpc.dir/TpcFieldCylGrid.o] Error 1
make[1]: *** [tpc/CMakeFiles/tpc.dir/all] Error 2
make: *** [all] Error 2
  
 
I'm aware that the Tpc package is under a heavy development. It's just to give you guys a report. 
 
Greetings from Dubna, 
 
Ralf. 
 
Edit: 
Now I see it's an issue of different compilers & flags.
		
		
		[Updated on: Wed, 04 July 2007 08:33] Report message to a moderator  
 |  
	| 
		
	 | 
 
 
 |