Catkinization and compilation of diagnostic_annotate