Language: C

#define Z 100
M[Z][Z][2],l=100000;main(w,h,i,j){
	M[0][0][0]=M[0][0][1]=M[1][1][0]=M[1][1][1]=1;
	for(i=1;i<Z;i++)M[i][0][0]=M[i-1][0][0],M[i][0][1]=0;
	for(j=1;j<Z;j++)M[0][j][0]=0,M[0][j][1]=M[0][j-1][1];
	for(i=1;i<Z;i++){
		for(j=1;j<Z;j++)M[i][j][0]=(M[i-1][j][0]+M[i-1][j-1][1])%l,M[i][j][1]=(M[i][j-1][1]+M[i-1][j-1][0]%l;
	}
	for(;scanf("%d%d",&w,&h),w;)printf("%d\n",(M[h-1][w-1][0]+M[h-1][w-1][1])%l);exit(0);
}

Compiler output:
main.c:2:1: warning: data definition has no type or storage class
    2 | M[Z][Z][2],l=100000;main(w,h,i,j){
      | ^
main.c:2:1: error: type defaults to 'int' in declaration of 'M' [-Wimplicit-int]
main.c:2:12: error: type defaults to 'int' in declaration of 'l' [-Wimplicit-int]
    2 | M[Z][Z][2],l=100000;main(w,h,i,j){
      |            ^
main.c:2:21: error: return type defaults to 'int' [-Wimplicit-int]
    2 | M[Z][Z][2],l=100000;main(w,h,i,j){
      |                     ^~~~
main.c: In function 'main':
main.c:2:21: error: type of 'w' defaults to 'int' [-Wimplicit-int]
main.c:2:21: error: type of 'h' defaults to 'int' [-Wimplicit-int]
main.c:2:21: error: type of 'i' defaults to 'int' [-Wimplicit-int]
main.c:2:21: error: type of 'j' defaults to 'int' [-Wimplicit-int]
main.c:7:117: error: expected ')' before ';' token
    7 |                 for(j=1;j<Z;j++)M[i][j][0]=(M[i-1][j][0]+M[i-1][j-1][1])%l,M[i][j][1]=(M[i][j-1][1]+M[i-1][j-1][0]%l;
      |                                                                                       ~                             ^
      |                                                                                                                     )
main.c:7:118: error: expected ';' before '}' token
    7 |                 for(j=1;j<Z;j++)M[i][j][0]=(M[i-1][j][0]+M[i-1][j-1][1])%l,M[i][j][1]=(M[i][j-1][1]+M[i-1][j-1][0]%l;
      |                                                                                                                      ^
      |                                                                                                                      ;
    8 |         }
      |         ~                                                                                                             
main.c:9:14: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    9 |         for(;scanf("%d%d",&w,&h),w;)printf("%d\n",(M[h-1][w-1][0]+M[h-1][w-1][1])%l);exit(0);
      |              ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | #define Z 100
main.c:9:14: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    9 |         for(;scanf("%d%d",&w,&h),w;)printf("%d\n",(M[h-1][w-1][0]+M[h-1][w-1][1])%l);exit(0);
      |              ^~~~~
main.c:9:14: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:9:37: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    9 |         for(;scanf("%d%d",&w,&h),w;)printf("%d\n",(M[h-1][w-1][0]+M[h-1][w-1][1])%l);exit(0);
      |                                     ^~~~~~
main.c:9:37: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:9:37: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:9:37: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:9:86: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
    9 |         for(;scanf("%d%d",&w,&h),w;)printf("%d\n",(M[h-1][w-1][0]+M[h-1][w-1][1])%l);exit(0);
      |                                                                                      ^~~~
main.c:1:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
  +++ |+#include <stdlib.h>
    1 | #define Z 100
main.c:9:86: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
    9 |         for(;scanf("%d%d",&w,&h),w;)printf("%d\n",(M[h-1][w-1][0]+M[h-1][w-1][1])%l);exit(0);
      |                                                                                      ^~~~
main.c:9:86: note: include '<stdlib.h>' or provide a declaration of 'exit'