The use of a compound for the manufacture of a medicament for the prophylaxis or treatment of: A. a 
disease state or condition mediated by a 
kinase which is BCR-
abl, VEGFR, PDGFR, EGFR, Flt3, JAK (e.g. JAK2 or JAK3), C-
abl, PDK1, Chk (e.g. Cbk1 or Chk2), FGFR (e.g. FGFR3), Ret, Eph (e.g. EphB2 or EphB4), or Src (e.g. cSrc); or B. a 
cancer in which the 
cancer cells thereof contain a 
drug resistant 
kinase mutation which is: (a) a 
threonine gatekeeper 
mutation; or (b) a 
drug-resistant gatekeeper 
mutation; or (c) an 
imatinib resistant mutation; or (d) a 
nilotinib resistant mutation; or (e) a 
dasatinib resistant mutation; or (f) a T670I mutation in KIT; or (g) a T674I mutation in PDGFR; or (h) T790M mutation in EGFR; or (i) a T315I mutation in 
abl; or C. a 
cancer which expresses a mutated molecular target which is a mutated form of BCRabl, c-kit, PDGF, EGF 
receptor or 
ErbB2; or D. a 
disease mediated by a 
kinase containing a mutation in a region of the 
protein that binds to or interacts with other cancer agents but does not bind to or interact with the compounds of formula (I) or (I′), for example a mutated kinase selected from c-abl, c-kit, PDGFR including PDGFR-beta and PDGFR-alpha, and 
ErbB family members such as EGFR (
ErbB1), HER2 (ErbB2), ErbB3, and ErbB4, members of the Ephrin 
receptor family including EphA1, EphA2, EphA3, EphA4, EphA5, EphA8, EphA10, EphB1, EphB2, EphB3, EphB5, EphB6, c-Src and kinases of the JAK family such as TYK2; wherein the compound is a compound of the formula (I or I′): or a salt, solvate, 
tautomer or N-
oxide thereof wherein R0′, R1, R1′, R2′, R3′, R4′, A′, X′, E, A and M are as defined in the claims.