Hi
I try to compile 7.3-rc2 on VS2005, but I getting the following error :
1>slang_compile.c
1>..\..\..\..\src\mesa\shader\slang\slang_compile.c(1476) : error C2275:
'slang_operation' : illegal use of this type as an expression
1> g:\mesa\src\mesa\shader\slang\slang_compile_operation.h(130) : see
declaration of 'slang_operation'
The offeding line is a plain declaration :
/* parse the array constructor size */
slang_operation array_size;
Is this a error on compiler settings ?
Alessandro
"mesa3d-users@..." <mesa3d-users@...>
2009/1/15 Littlebob <littlebobs@...>
> The commit, "glsl: move declaration before code" fixed the the error
> that I was getting.
>
> Thanks!
>
> On Wed, Jan 14, 2009 at 3:23 PM, Brian Paul <brianp@...> wrote:
> >
> > Yes, there's a new VC8 project file. I removed the stray swizzle.c from
> it. I'll try to make 7.3-rc2 tarballs/zips tonight.
> >
> > -Brian
> >
> > Karl Schultz wrote:
> >>
> >> Brian,
> >>
> >> Did anyone submit a new project file for Visual Studio? If not, I can
> >> make one later this evening using the latest RC build. Let me know.
> >>
> >> Karl
> >>
> >>
> >> On Wed, Jan 14, 2009 at 12:08 PM, Brian Paul <brianp@...> wrote:
> >>>
> >>> Littlebob wrote:
> >>>>
> >>>> I'm getting several errors while trying to compile the latest source
> of
> >>>> mesa from the GIT repository in MS visual c++ 2005. As I seem to
> always
> >>>> have problems while others do not, it is probably something that I'm
> >>>> doing wrong.
> >>>
> >>> Try removing swizzle.c from your project file. It shouldn't be there.
> >>>
> >>> Don't know about the other errors.
> >>>
> >>> -Brian
> >>>
> >>>
> >>>
> ------------------------------------------------------------------------------
> >>> This SF.net email is sponsored by:
> >>> SourcForge Community
> >>> SourceForge wants to tell your story.
> >>> http://p.sf.net/sfu/sf-spreadtheword
> >>> _______________________________________________
> >>> Mesa3d-users mailing list
> >>> Mesa3d-users@...
> >>> https://lists.sourceforge.net/lists/listinfo/mesa3d-users
> >>>
> >> .
> >>
> >
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> Mesa3d-users mailing list
> Mesa3d-users@...
> https://lists.sourceforge.net/lists/listinfo/mesa3d-users
>
|