Previously, compiling wmcdplay caused a large number of warnings of the form "deprecated conversion from string constant to ‘char*’". This was fixed by changing "char *" declarations to "const char *", especially in the .xpm files, and using "const_cast" as needed when an external library expected a non-const.
		
			
				
	
	
		
			10 lines
		
	
	
	
		
			433 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
	
		
			433 B
		
	
	
	
		
			C
		
	
	
	
	
	
/* XPM */
 | 
						|
static const char * symbols_xpm[] = {
 | 
						|
"65 5 2 1",
 | 
						|
" 	c None",
 | 
						|
"0	c #000000",
 | 
						|
"      00000 0     00 00 00 00 0   0 0   0               0   00000",
 | 
						|
"      00000 000   00 00 00 00 0 000 000 0  0  0 0  0   000   000 ",
 | 
						|
"      00000 00000 00 00 00 00 00000 00000 00 00 00 00 00000   0  ",
 | 
						|
"      00000 000   00 00 00 00 0 000 000 0  0  0 0  0             ",
 | 
						|
"      00000 0     00 00 00 00 0   0 0   0             00000 00000"};
 |