In particular a corresponding 3-hydroxy-4-pyrone can be reacted with a compound R'NH2 in which R' represents the group present on the nitrogen atom of the desired compound or a group convertible thereto, the reaction being carried out in the presence of a base, for example an alkali metal hydroxide such as sodium hydroxide.