This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Define check_sccs only if ENABLE_CHECKING is defined



"H.J. Lu" <hjl@lucon.org> wrote on 03/07/2007 17:18:06:

> I used --enable-checking=assert to configure gcc and I got
>
> cc1: warnings being treated as errors
> /export/gnu/src/gcc/gcc/gcc/ddg.c:877: error: âcheck_sccsâ defined but
> not used
> make[4]: *** [ddg.o] Error 1
>
> It is because there are
>
> #ifdef ENABLE_CHECKING
>   check_sccs (sccs, num_nodes);
> #endif
>
> in ddg.c. I am checking this patch as an obvious fix.

Thanks,
Revital

> Thanks.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]