Cygwin: utils: build with -Wimplicit-fallthrough=4 -Werror
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
		
							parent
							
								
									e7fca6f867
								
							
						
					
					
						commit
						acfed1364a
					
				|  | @ -14,9 +14,11 @@ configure_args=@configure_args@ | |||
| export CC:=@CC@ | ||||
| export CXX:=@CXX@ | ||||
| 
 | ||||
| CFLAGS_COMMON=-Wimplicit-fallthrough=4 -Werror | ||||
| CFLAGS:=@CFLAGS@ | ||||
| CXXFLAGS:=@CXXFLAGS@ | ||||
| override CXXFLAGS+=-fno-exceptions -fno-rtti | ||||
| override CFLAGS+=${CFLAGS_COMMON} | ||||
| override CXXFLAGS+=-fno-exceptions -fno-rtti ${CFLAGS_COMMON} | ||||
| 
 | ||||
| include ${srcdir}/../Makefile.common | ||||
| 
 | ||||
|  |  | |||
|  | @ -465,7 +465,7 @@ run_program (char *cmdline) | |||
| 		      thread_return_address[tix] = rv; | ||||
| 		} | ||||
| 	      set_step_threads (event.dwThreadId, stepping_enabled); | ||||
| 	      /* fall-through */ | ||||
| 	      /*FALLTHRU*/ | ||||
| 	    case STATUS_SINGLE_STEP: | ||||
| 	      opcode_count++; | ||||
| 	      pc = (CONTEXT_REG)event.u.Exception.ExceptionRecord.ExceptionAddress; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue