Lua: Added another ignored warning to fix compilation with MSVC.
This commit is contained in:
		
							parent
							
								
									94d960d49c
								
							
						
					
					
						commit
						071b2c323b
					
				@ -41,7 +41,7 @@ def cook(env: Environment, version) -> dict:
 | 
				
			|||||||
    if env['COMPILER_FAMILY'] in ('gcc', 'clang'):
 | 
					    if env['COMPILER_FAMILY'] in ('gcc', 'clang'):
 | 
				
			||||||
        additional_ccflags.append('-Wno-pedantic')
 | 
					        additional_ccflags.append('-Wno-pedantic')
 | 
				
			||||||
    elif env['COMPILER_FAMILY'] == 'cl':
 | 
					    elif env['COMPILER_FAMILY'] == 'cl':
 | 
				
			||||||
        additional_ccflags.extend(['/wd4244', '/wd4310', '/wd4324', '/wd4701'])
 | 
					        additional_ccflags.extend(['/wd4244', '/wd4310', '/wd4324', '/wd4701', '/wd4709'])
 | 
				
			||||||
    lib_lua = env.StaticLibrary(
 | 
					    lib_lua = env.StaticLibrary(
 | 
				
			||||||
        CCFLAGS = env['CCFLAGS'] + additional_ccflags, # Lua uses a GNU extension for taking addresses of labels
 | 
					        CCFLAGS = env['CCFLAGS'] + additional_ccflags, # Lua uses a GNU extension for taking addresses of labels
 | 
				
			||||||
        target = env['LIB_DIR'] + '/lua_full',
 | 
					        target = env['LIB_DIR'] + '/lua_full',
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user