protected CCodeBaseModule () {
if (Vala.get_build_version () != Vala.BUILD_VERSION) {
- Report.error (null, "Integrity check failed (libvala %s doesn't match ccodegen %s)".printf (Vala.get_build_version (), Vala.BUILD_VERSION));
+ Report.error (null, "Integrity check failed (libvala %s doesn't match ccodegen %s)", Vala.get_build_version (), Vala.BUILD_VERSION);
}
predefined_marshal_set = new HashSet<string> (str_hash, str_equal);
var old_gir_version = ns.get_attribute_string ("CCode", "gir_version");
if ((old_gir_namespace != null && old_gir_namespace != gir_namespace)
|| (old_gir_version != null && old_gir_version != gir_version)) {
- Report.warning (ns.source_reference, "Replace conflicting CCode.gir_* attributes for namespace `%s'".printf (ns.name));
+ Report.warning (ns.source_reference, "Replace conflicting CCode.gir_* attributes for namespace `%s'", ns.name);
}
ns.set_attribute_string ("CCode", "gir_namespace", gir_namespace);
ns.set_attribute_string ("CCode", "gir_version", gir_version);
}
if (old_cl != null && old_cl.is_partial) {
if (cl.is_partial != old_cl.is_partial) {
- Report.error (cl.source_reference, "conflicting partial and not partial declarations of `%s'".printf (cl.name));
+ Report.error (cl.source_reference, "conflicting partial and not partial declarations of `%s'", cl.name);
cl.error = true;
}
if (cl.access != old_cl.access) {
- Report.error (cl.source_reference, "partial declarations of `%s' have conflicting accessiblity modifiers".printf (cl.name));
+ Report.error (cl.source_reference, "partial declarations of `%s' have conflicting accessiblity modifiers", cl.name);
cl.error = true;
}
if (cl.is_abstract != old_cl.is_abstract) {
- Report.error (cl.source_reference, "partial declarations of `%s' have conflicting abstract modifiers".printf (cl.name));
+ Report.error (cl.source_reference, "partial declarations of `%s' have conflicting abstract modifiers", cl.name);
cl.error = true;
}
if (cl.is_sealed != old_cl.is_sealed) {
- Report.error (cl.source_reference, "partial declarations of `%s' have conflicting sealed modifiers".printf (cl.name));
+ Report.error (cl.source_reference, "partial declarations of `%s' have conflicting sealed modifiers", cl.name);
cl.error = true;
}
if (cl.error) {