A compound of general formula (I): ** Formula ** in which: X is C or S>; = O; A represents CH; n is 0, 1, 2 or 3; R1 is phenyl, 5 or 6 membered saturated or unsaturated heterocycle, 8-10 membered unsaturated or partially saturated heterocycle containing heteroatoms independently selected from O, N and S; any of those rings being optionally substituted with one or more groups independently selected from cyano, halogen, nitro, hydroxy, C1-6 alkyl, C1-6 haloalkyl, C1-6 alkoxy, C1-6 haloalkoxy, C1-6 alkylcarbonyl , C6-10 aryl, C6-10 aryloxy, C6-10 arylcarbonyl, N (Ra) 2, SO2N (Ra) 2, N (Ra) SO2Ra, saturated or unsaturated 5 or 6 membered heterocycle optionally substituted with one or more independently selected groups of halogen, C1-6 alkyl, C1-6 haloalkyl, C1-6 alkoxy; R2 represents C1-6 alkyl, C3-10 cycloalkyl; R3 represents hydrogen or C1-6 alkyl; R4 is hydrogen, halogen, hydroxy, cyano, sulfonylamino, C1-6 alkyl, C1-6 haloalkyl, C1-6 hydroxyalkyl, SO2-C1-6 alkyl, C1-6 alkoxy, C1-6 haloalkoxy, C3-10 cycloalkyl, halocycloalkyl C3-10, C2-10 alkenyl, C2-10 alkynyl, nitro, N (Ra) 2, C6-10 aryl, C6-10 aryl-C1-6 alkyl, C6-10 aryl-C1-6 alkoxy; 4 or 5 or 6-membered saturated or partially saturated heterocycle containing 1, 2 or 3 heteroatoms independently selected from N, O and S, optionally linked by a C1-4 alkyl group; 5-membered unsaturated heterocycle containing 1, 2, 3 or 4 heteroatoms independently selected from N, O and S, but not more than one of which is O or S; 6-membered unsaturated heterocycle containing 1, 2 or 3 nitrogen atoms; or a saturated, partially saturated or unsaturated 7-13 membered heterocycle containing heteroatoms independently selected from N, O or S; any of those rings being optionally substituted with one or more groups independently selected from one or more independently selected groups of halogen, hydroxy, amino, C1-6 alkyl, C1-6 haloalkyl, C1-6 alkoxy and C1-6 haloalkoxy; R5 and R6 are independently hydrogen, C1-6 alkyl, or CR5R6 represents