Re: [Mesa-dev] [PATCH] ir_to_mesa: Include main/compiler.h

2010-08-12 Thread Ian Romanick
When the compiler was being developed out of tree, I had open-coded the Elements macro in a couple places. It seems that I never went back and cleaned that up. This patch should fix that and the issue that Jakob reported. Does this fix the original problem? _

[Mesa-dev] [PATCH] ir_to_mesa: Include main/compiler.h

2010-08-12 Thread Jakob Bornecrantz
Needed for Elements. Need to have its own extern block before other includes due to conflicts with other headers which define similar thingsi. In particular mapi/mapi/u_compiler.h will get included before main/compiler.h and main/compiler.h doesn't check if INLINE is already defined so we get warni