On Fri, Feb 26, 2010 at 9:26 AM, ashish jain <ashish_d...@yahoo.co.in> wrote:
> Hi,
>
> I am trying to write a simple gcc plugin and am getting the following errors.
>
> In file included from /home/aj/gcc/trunk/gcc/rtl.h:49,
>                 from /home/aj/gcc/testcode/plugin/ctla_gcc_plugin.c:22:
> /home/aj/gcc/trunk/gcc/rtl.def:336: error: expected identifier before ‘const’

From the looks of it, you have a define for CONST as const.  This
first error is the reason for the rest of the errors.

Thanks,
Andrew Pinski

Reply via email to