mirror of https://github.com/OpenVPN/openvpn-gui
				
				
				
			configure: For MinGW build enable -Werror
But avoid -Wcast-function-type (from -Wextra) since that is not useful for code using GetProcAddress. Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>pull/732/head
							parent
							
								
									2721540f89
								
							
						
					
					
						commit
						528df5e259
					
				| 
						 | 
				
			
			@ -77,7 +77,7 @@ AC_PROG_INSTALL
 | 
			
		|||
AC_PROG_LN_S
 | 
			
		||||
AC_PROG_MAKE_SET
 | 
			
		||||
 | 
			
		||||
test "${GCC}" = "yes" && CFLAGS="${CFLAGS} -pedantic -Wall -Wextra"
 | 
			
		||||
test "${GCC}" = "yes" && CFLAGS="${CFLAGS} -pedantic -Wall -Wextra -Wno-cast-function-type -Werror"
 | 
			
		||||
 | 
			
		||||
AC_CONFIG_FILES([Makefile plap/Makefile])
 | 
			
		||||
AC_OUTPUT
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue