Problem including gcc-plugin.h

Andres Tiraboschi
Fri Nov 21 19:06:00 GMT 2014

Hi all, I just downloaded the last developent version of gcc (gcc
version 5.0.0 20141121 (experimental) (GCC)) and when I try to include
gcc-plugin.h I have an error because can't find dominance.h

This is an example I was trying to compile:
#include "gcc-plugin.h"

static void
finish_dl (void *gcc_data, void *user_data) {}

int plugin_init (struct plugin_name_args *plugin_info,
                 struct plugin_gcc_version *version)
        register_callback ("finish_dl", PLUGIN_FINISH_DECL, &finish_dl, NULL);
        return 0;
Is this a problem of this version?

More information about the Gcc-help mailing list