mirror of
				https://gitlab.freedesktop.org/wayland/wayland.git
				synced 2025-11-03 09:01:42 -05:00 
			
		
		
		
	configure: add -Wextra -Wno-unused-parameter
This adds more gcc warnings that should be useful, and suppresses the unused parameter warnings that are not wanted. Most importantly, this change enables warnings about comparison between signed and unsigned. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
This commit is contained in:
		
							parent
							
								
									28e3cbc654
								
							
						
					
					
						commit
						11b141cb18
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -23,7 +23,7 @@ PKG_PROG_PKG_CONFIG()
 | 
				
			||||||
PKG_CHECK_MODULES(FFI, [libffi])
 | 
					PKG_CHECK_MODULES(FFI, [libffi])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if test "x$GCC" = "xyes"; then
 | 
					if test "x$GCC" = "xyes"; then
 | 
				
			||||||
	GCC_CFLAGS="-Wall -g -Wstrict-prototypes -Wmissing-prototypes -fvisibility=hidden"
 | 
						GCC_CFLAGS="-Wall -Wextra -Wno-unused-parameter -g -Wstrict-prototypes -Wmissing-prototypes -fvisibility=hidden"
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
AC_SUBST(GCC_CFLAGS)
 | 
					AC_SUBST(GCC_CFLAGS)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue