Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Bug in CppBuilder module - SourceToObjName()  
	
		
		
			| Bug in CppBuilder module - SourceToObjName() [message #58078] | 
			Tue, 08 February 2022 16:40   | 
		 
		
			
				
				
				
					
						  
						mdelfede
						 Messages: 1310 Registered: September 2007 
						
					 | 
					Ultimate Contributor  | 
					 | 
		 
		 
	 | 
 
	
		Using import.ext, with source files one level UP from package's one brings truncation to ObjName : 
 
package:FoundationClasses 
 srcfile:/home/massimo/sources_TOOLS/UppOpenCascade2/_OCC_/OS D/OSD_File.cxx 
srcfile  trimmed:/home/massimo/sources_TOOLS/UppOpenCascade2/_OCC_/OS D/OSD_File.cxx 
 GetFileFolder(PackagePath(package)):/home/massimo/sources_TO OLS/UppOpenCascade2/FoundationClasses 
q:62 
r:.cxx 
 
objname is returned as 
 
'.cxx' 
 
it should be something like 
 
 '_home_massimo_sources_TOOLS_UppOpenCascade2__OCC__OSD_OSD_F ile.cxx' 
 
or, maybe 
 
'_OCC__OSD_OSD_File.cxx' 
 
but the latter could be problematic in some corner cases
		
		
		
 |  
	| 
		
	 | 
 
 
 |  
  
 
Goto Forum:
 
 Current Time: Tue Nov 04 13:59:41 CET 2025 
 Total time taken to generate the page: 0.08856 seconds 
 |