[Mesa-dev] Janitorial work: no more intel_context.[ch]; tidying

Ian Romanick idr at freedesktop.org
Wed Oct 2 11:02:39 PDT 2013


(Adding Alan to the CC list.)

On 10/01/2013 10:51 PM, Vinson Lee wrote:
> On Mon, Sep 30, 2013 at 10:21 PM, Kenneth Graunke <kenneth at whitecape.org> wrote:
>> On 09/27/2013 06:24 PM, Emil Velikov wrote:
>>> * With the recent split of the intel driver codebase, the new i965
>>> headers has been getting a bunch of #pragma once over the standard
>>> #ifndef _HEADER_H_... Are those intentional ?
>>
>> Yup, that's intentional.  "#pragma once" doesn't require inventing a
>> unique #define name, is less typing, and is faster on some compilers.
>>
>> I actually forgot that it wasn't standard.  It's supported basically
>> everywhere, though, so I'd be really shocked if it caused problems.
> 
> Oracle Solaris Studio does not support "#pragma once".

Is there *any* reason to use that compiler over GCC?  This isn't the
first time that we've discovered it to be lacking some feature that GCC,
clang, and Visual Studio all support. :(



More information about the mesa-dev mailing list