> -----Original Message-----
> 
> I see Vinson committed a better fix to the 7.8 branch.  However,
> Vinson, I think you made a typo:
> 
>   #elif defined(PIPE_CC_GCC) && (PIPE_CC_GCC_VERSION >= 401)
> 
> That version should be "410", not "401", right?
> 

The PIPE_CC_GCC_VERSION macro doesn't use __GNUC_PATCHLEVEL__.

src/gallium/include/pipe/p_config.h
    54  #if defined(__GNUC__)
    55  #define PIPE_CC_GCC
    56  #define PIPE_CC_GCC_VERSION (__GNUC__ * 100 + __GNUC_MINOR__)
    57  #endif

printf("PIPE_CC_GCC_VERSION: %d\n", PIPE_CC_GCC_VERSION);
PIPE_CC_GCC_VERSION: 402

$ gcc --version
i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646) (dot 1)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to