mirror of
				git://git.code.sf.net/p/cdesktopenv/code
				synced 2025-03-09 15:50:02 +00:00 
			
		
		
		
	These caused a compilation failure in the generated conftab.c file while compiling on Solaris with gcc.
This commit is contained in:
		
							parent
							
								
									68a6f9a6e2
								
							
						
					
					
						commit
						1554ec2cdd
					
				
					 1 changed files with 1 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -833,10 +833,7 @@ unsigned int conf[] = {
 | 
			
		|||
		[ -f $tmp.1.e ] || cp $tmp.e $tmp.1.e
 | 
			
		||||
		snl='\
 | 
			
		||||
'
 | 
			
		||||
		# Extract failing identifiers. Try to isolate compiler errors while eliminating suggestions.
 | 
			
		||||
		# As of 2021, known to work on: gcc, clang, Solaris Studio cc
 | 
			
		||||
		sed -n 's/[Dd]id you mean.*//; /[Ww]arning:/ d; /[Ee]rror:/ p; /[Ll]ine [0-9][0-9]*:/ p' $tmp.e |
 | 
			
		||||
		sed "s/[^_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789][^_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789]*/${snl}/g" |
 | 
			
		||||
		sed "s/[^_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789][^_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789]*/${snl}/g" $tmp.e |
 | 
			
		||||
		grep '^[_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz][_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789]*$' |
 | 
			
		||||
		sort -u > $tmp.n
 | 
			
		||||
		cmp -s $tmp.n $tmp.p && break
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue