Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Prossible bug in CppBuilder.cpp (using an import.ext correct file brings "invalid .ext file" and stops compilation)  
	
		
		
			| Prossible bug in CppBuilder.cpp [message #57692] | 
			Sun, 21 November 2021 00:37  | 
		 
		
			
				
				
				
					
						  
						mdelfede
						 Messages: 1310 Registered: September 2007 
						
					 | 
					Ultimate Contributor  | 
					 | 
		 
		 
	 | 
 
	
		In CppBuilder.cpp, near line 379 
if(p.Id("exclude_path")) {
	ExtExclude(p, packageFolder, include_path, flags);
}
else {
	p.PassId("includes");
.....
 
IMHO the 'else' is meaningless here, and the PassId("includes") throws an exception if "includes" is missing or in another position. 
Looking into git code, the 'else' and 'PassId' were added in 2021/05; before it was 
 
if(p.Id("exclude_path")) {
	ExtExclude(p, include_path);
}
if(p.Id("includes")) {
...
 
 
which should be correct. 
 
Ciao 
 
Massimo 
		
		
		
 |  
	| 
		
	 | 
 
 
 |  
  
 
Goto Forum:
 
 Current Time: Tue Nov 04 09:11:39 CET 2025 
 Total time taken to generate the page: 0.03730 seconds 
 |