| 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  
 |  
	| 
		
	 | 
 
 
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	
		
		
			| Re: Bug in Tpc (rev. 1070) [message #4617 is a reply to message #4615] | 
			Wed, 04 July 2007 17:38    | 
		 
		
			
				
				
				
					
						  
						StefanoSpataro
						 Messages: 2736 Registered: June 2005  Location: Torino
						
					 | 
					first-grade participant  | 
					  From: 159.93.129*
  | 
		 
		 
	 | 
 
	
		Hi, 
here you are some feedback   
 
Compilation in Gießen: 
 
[ 52%] Building CXX object tpc/CMakeFiles/tpc.dir/TpcSpaceChargeTask.o 
/home/spataro/pandaroot/tpc/TpcSpaceChargeTask.cxx: In member function 'virtual void TpcSpaceChargeTask::Exec(const Option_t*)': 
/home/spataro/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/spataro/pandaroot/tpc/TpcFieldCylGrid.cxx: In constructor 'TpcFieldCylGrid<t>::TpcFieldCylGrid(const t&, double, double, double, double, const TVector3&, std::vector<std::vector<t*, std::allocator<t*> >*, std::allocator<std::vector<t*, std::allocator<t*> >*> >*)': 
/home/spataro/pandaroot/tpc/TpcFieldCylGrid.cxx:40: error: '_relPosition' was not declared in this scope 
/home/spataro/pandaroot/tpc/TpcFieldCylGrid.cxx: In member function 'virtual void TpcFieldCylGrid<t>::print(std::ostream&) const': 
/home/spataro/pandaroot/tpc/TpcFieldCylGrid.cxx:88: error: there are no arguments to 'nominal' that depend on a template parameter, so a declaration of 'nominal' must be available 
/home/spataro/pandaroot/tpc/TpcFieldCylGrid.cxx:88: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) 
/home/spataro/pandaroot/tpc/TpcFieldCylGrid.cxx:89: error: there are no arguments to 'scale' that depend on a template parameter, so a declaration of 'scale' must be available 
/home/spataro/pandaroot/tpc/TpcFieldCylGrid.cxx: In member function 'virtual bool TpcFieldCylGrid<t>::pointOk(const TVector3&) const': 
/home/spataro/pandaroot/tpc/TpcFieldCylGrid.cxx:120: error: '_relPosition' was not declared in this scope 
/home/spataro/pandaroot/tpc/TpcFieldCylGrid.cxx: In member function 't TpcFieldCylGrid<t>::evalValue(const TVector3&) const': 
/home/spataro/pandaroot/tpc/TpcFieldCylGrid.cxx:178: error: there are no arguments to 'nominal' that depend on a template parameter, so a declaration of 'nominal' must be available 
/home/spataro/pandaroot/tpc/TpcFieldCylGrid.cxx:181: 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 
		
		
		
 |  
	| 
		
	 | 
 
 
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 |