compile in C99
suppress warning by adding a case