[LLVMdev] LLVM-3.0 fails to build on linux ppc32

Joerg Sonnenberger joerg at britannica.bec.de
Fri Dec 2 05:16:24 PST 2011


On Fri, Dec 02, 2011 at 06:59:47AM -0600, Hal Finkel wrote:
> On Fri, 2011-12-02 at 13:28 +0100, Joerg Sonnenberger wrote:
> > On Fri, Dec 02, 2011 at 12:30:29PM +0100, acrux_it at libero.it wrote:
> > > +// Generated files will use "namespace PPC". To avoid symbol clash,
> > > +// undefine PPC here. PPC may be predefined on some hosts.
> > > +#undef PPC
> > > +
> > 
> > I wonder if it shouldn't just be renamed to PowerPC everywhere. It's not
> > that much longer.
> 
> Would we need to change the 'PPC' prefix on all of the file names and
> other associated classes too?

As prefix it is fine, just the namespace itself is the problem.

Joerg



More information about the llvm-dev mailing list