[Mesa-dev] [PATCH] Fix build to use glsl_parser.hh instead of glsl_parser.h.

Ian Romanick idr at freedesktop.org
Mon Jul 16 10:14:55 PDT 2012


On 07/16/2012 09:28 AM, Jon TURNEY wrote:
> On 16/07/2012 17:10, Ian Romanick wrote:
>> On 07/15/2012 06:30 AM, Matt Turner wrote:
>>> On Sun, Jul 15, 2012 at 1:21 AM, Ian Romanick <idr at freedesktop.org> wrote:
>>>> On 07/13/2012 03:03 PM, Jon TURNEY wrote:
>>>>>
>>>>> On 13/07/2012 22:23, Marcin Baczyński wrote:
>>>>>>
>>>>>> Commit 68e04cc6014bf7a2c9bd0b3b783b4ec12aa2e824 changed .cpp -> .cc,
>>>>>> but forgot to update references .h -> .hh.
>>>>
>>>>
>>>> Header files are named .h.  NAK changes to .hh or .hpp.  Seriously,
>>>
>>> That's our preference too, but automake-1.12 makes this stupid change, not us.
>>
>> Then work around it, and report a bug to automake.
>
> Sigh.
>
> Work around is already done, see commit 81de043

Nice.  That works for me.  Has a bug been reported to automake?

Also, could we do something similar to avoid more .cc files?  The 
assembly parser and lexer (in src/mesa/program/) are going to get 
converted to C++ soon, and I'd prefer to keep .cpp as our C++ extension.


More information about the mesa-dev mailing list