michal wrote:
> C:\src\mesa>scons platform=windows debug=1
> scons: Reading SConscript files ...
> scons: done reading SConscript files.
> scons: Building targets ...
>   Compiling src\mesa\shader\program_parse.tab.c ...
> program_parse.tab.c
> program_parse.tab.c(254) : error C2365: 'POINT' : redefinition; previous 
> definit
> ion was 'typedef'
>         C:\Program Files\Microsoft Visual Studio 
> 8\VC\PlatformSDK\include\windef
> .h(331) : see declaration of 'POINT'
> program_parse.tab.c(254) : error C2086: 'yytokentype POINT' : redefinition
>         program_parse.tab.c(254) : see declaration of 'POINT'
> program_parse.tab.c(266) : error C2365: 'SIZE' : redefinition; previous 
> definiti
> on was 'typedef'
>         C:\Program Files\Microsoft Visual Studio 
> 8\VC\PlatformSDK\include\windef
> .h(343) : see declaration of 'SIZE'
> program_parse.tab.c(266) : error C2086: 'yytokentype SIZE' : redefinition
>         program_parse.tab.c(266) : see declaration of 'SIZE'
> program_parse.y(1075) : warning C4133: 'function' : incompatible types - 
> from 'u
> nsigned int [5]' to 'const gl_state_index *'
> program_parse.y(1081) : warning C4133: 'function' : incompatible types - 
> from 'u
> nsigned int [5]' to 'const gl_state_index *'
> program_parse.y(1095) : warning C4133: 'function' : incompatible types - 
> from 'u
> nsigned int [5]' to 'const gl_state_index *'
> program_parse.y(1101) : warning C4133: 'function' : incompatible types - 
> from 'u
> nsigned int [5]' to 'const gl_state_index *'
> program_parse.y(1115) : warning C4133: 'function' : incompatible types - 
> from 'u
> nsigned int [5]' to 'const gl_state_index *'
> program_parse.y(1121) : warning C4133: 'function' : incompatible types - 
> from 'u
> nsigned int [5]' to 'const gl_state_index *'
> scons: *** [build\windows-x86-debug\mesa\shader\program_parse.tab.obj] 
> Error 2
> scons: building terminated because of errors.

I'll fix these.

Perhaps we should prefix or suffix all the lexer tokens with "T_" or 
something like that to avoid collisions.  Ian?

-Brian

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to