Compile of big generated file in release stuck
	
	
		Hi All,
I have a project with some UI files,
One of them is complicated and contains a lot of components.
the generated cpp file is very big (125kb).
compiling in release is stuck on this file .
All the cpp files are optimized for max speed (/O2)
When i changed this specific file's optimization to "Disable" the compile process finshed.
1. Why the compile process stuck on this file?
2. Will this change of this file may cause me some problems?
Thanks
	 
	
	
	
		Re: Compile of big generated file in release stuck
	
	
		
	Quote:
	
		
		
			1. Why the compile process stuck on this file?
			
		
	
 How much did you wait for it to complete? 
	Quote:
	
		
		
			2. Will this change of this file may cause me some problems?
			
		
	
 The UI code generated by uic is linear. It does not contain any complex algorithms or other processor stressing code. 
Disabling optimizations shouldn't be a problem.
	 
	
	
	
		Re: Compile of big generated file in release stuck
	
	
		1. waited more than 45 minutes.
2. So if i have for example 4 cpp files which are compiled for max speed (/O2) and one file which is disabled for optimization in the same vcproj file under release - This is no proble?
	 
	
	
	
		Re: Compile of big generated file in release stuck
	
	
		
	Quote:
	
		
		
			1. waited more than 45 minutes.
			
		
	
 Must be a compiler bug.
	Quote:
	
		
		
			2. So if i have for example 4 cpp files which are compiled for max speed (/O2) and one file which is disabled for optimization in the same vcproj file under release - This is no proble?
			
		
	
 Won't be any problem if the code that is not optimized is the one generated by uic.
	 
	
	
	
		Re: Compile of big generated file in release stuck
	
	
		It happend on VS v7.1.630 + QT 3.3.5.
Deleting large amount of controls helped reducing the compile time