Filename warning misreporting

Peter Naulls peter at chocky.org
Tue Jun 1 07:50:13 PDT 2004


In message <40BC9630.8020009 at dsvr.net>
          Nick Burrett <nick at dsvr.net> wrote:

> Peter Naulls wrote:
> > 
> > When compiling ChoX11 with GCC 3.3.3, I see the following:
> > 
> > Desklib:/Xatomtype.h:61:1: warning: "BOOL" redefined
> > 
> > Of course, Xatomtype.h isn't in Desklib, it's in RiscXLib
> > (XLib$Path). This may or may not be an ambiguity that can be
> > resolved.
> 
> This is a common occurance.  Packages should drop their definitions of 
> BOOL and use the definitions supplied by the standard C library in 
> <stdbool.h>.

No :-)  Read what I said again.  The use of bool is incidental, and can
be fixed.  The issue is the path reporting.

-- 
Peter Naulls - peter at chocky.org        | http://www.chocky.org/
----------------------------------------------------------------------------
Drobe - http://www.drobe.co.uk/        | The Premier RISC OS News Site





More information about the gcc mailing list