compile failing on net.cpp
			 
			 
			
		
		
		
		Alright so I'm running CentOS 5 64bit with perl 5.8 gcc 4.4 and all that fun fun stuff. Was getting some pretty wild errors. Have been working through them slowly but now ive got a pretty major one I can't seem to break. 
 
error 1:  
 
net.cpp: In function ‘int main(int, char**)’: 
net.cpp:514: warning: large integer implicitly truncated to unsigned type 
make: *** [net.o] Error 1 
 
When I add a line and put } I get the following error 
 
net.cpp: In function ‘int main(int, char**)’: 
net.cpp:514: warning: large integer implicitly truncated to unsigned type 
net.cpp:332: warning: unused variable ‘ps’ 
net.cpp: At global scope: 
net.cpp:584: error: expected unqualified-id before ‘if’ 
net.cpp:585: error: expected unqualified-id before ‘if’ 
net.cpp:586: error: expected unqualified-id before ‘if’ 
net.cpp:589: error: expected unqualified-id before ‘if’ 
net.cpp:591: error: expected unqualified-id before ‘try’ 
net.cpp:594: error: expected unqualified-id before ‘catch’ 
net.cpp:595: error: expected unqualified-id before ‘if’ 
make: *** [net.o] Error 1 
 
This error is actually new, previously the error would say 
 
net.cpp:1377 : expected '}' at end of file or something similar... and if I added one I would still get the error. Need some serious help here. 
		
	
		
		
		
		
		
		
		
		
		
	
		
			
			
			
			
				 
			
			
			
			
			
			
				
			
			
			
		 
		
	
	
	 |