Fix warning C4003: not enough actual parameters for macro
This would trigger when the argument to STRING2 was a MACRO that was defined but had no value
This commit is contained in:
		
							parent
							
								
									1d31809051
								
							
						
					
					
						commit
						4cceb6deaf
					
				@ -30,7 +30,7 @@
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    #define STRING2(x) #x
 | 
			
		||||
    #define STRING2(...) #__VA_ARGS__
 | 
			
		||||
	#define STRING(x) STRING2(x)
 | 
			
		||||
    #define SHOW_VALUE(x) " " #x "  =  " STRING2(x)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user