[Bf-committers] Msvc 7.1, error compiling ==> 'drawmesh.c'

Scott Johnson scottj at cs.umn.edu
Tue Mar 13 00:26:54 CET 2007


Patch submitted which adds this to the top of drawmesh.c

~jwir3


Matt Ebb wrote:

> Strangely, I've got this error too on gcc 3.4/Windows. Perhaps someone 
> would like to commit those defines where needed?
>
> cheers
>
> Matt
>
>
>
> On 3/12/07, * Campbell Barton* <cbarton at metavr.com 
> <mailto:cbarton at metavr.com>> wrote:
>
>     Maybe we need this since it seems its not defined everywhere...
>
>     #ifndef GL_CLAMP_TO_EDGE
>     #define GL_CLAMP_TO_EDGE        0x812F
>     #endif
>
>
>     jean-michel soler wrote:
>     > Compiling ==> 'drawmesh.c '
>     > drawmesh.c
>     > source\blender\src\drawmesh.c(422) : error C2065:
>     'GL_CLAMP_TO_EDGE' :
>     > undeclared identifier
>     > source\blender\src\drawmesh.c(823) : warning C4244: 'function' :
>     > conversion from 'double' to 'GLfloat', possible loss of data
>     > source\blender\src\drawmesh.c(824) : warning C4244: 'function' :
>     > conversion from 'double' to 'GLfloat', possible loss of data
>     > source\blender\src\drawmesh.c(1004) : warning C4244: '=' :
>     conversion
>     > from 'float' to 'unsigned char', possible loss of data
>     > source\blender\src\drawmesh.c(1005) : warning C4244: '=' :
>     conversion
>     > from 'float' to 'unsigned char', possible loss of data
>     > source\blender\src\drawmesh.c(1006) : warning C4244: '=' :
>     conversion
>     > from 'float' to 'unsigned char', possible loss of data
>     > source\blender\src\drawmesh.c(1007) : warning C4244: '=' :
>     conversion
>     > from 'float' to 'unsigned char', possible loss of data
>     > scons: ***
>     > [E:\bf-blender\build\win32-vc\source\blender\src\drawmesh.obj]
>     Error 2
>     > scons: building terminated because of errors.
>     >
>     > jms
>     >
>     > _______________________________________________
>     > Bf-committers mailing list
>     > Bf-committers at projects.blender.org
>     <mailto:Bf-committers at projects.blender.org>
>     > http://projects.blender.org/mailman/listinfo/bf-committers
>     >
>
>
>     --
>     See MetaVR Visuals Used at the Combat Studies Institute
>     http://www.metavr.com/casestudies/baghdadviews.html
>
>     Campbell J Barton
>
>     133 Hope Street
>     Geelong West, Victoria 3218 Australia
>
>     URL:     http://www.metavr.com
>     e-mail: cbarton at metavr.com <mailto:cbarton at metavr.com>
>     phone: AU (03) 5229 0241
>     _______________________________________________
>     Bf-committers mailing list
>     Bf-committers at projects.blender.org
>     <mailto:Bf-committers at projects.blender.org>
>     http://projects.blender.org/mailman/listinfo/bf-committers
>     <http://projects.blender.org/mailman/listinfo/bf-committers>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Bf-committers mailing list
>Bf-committers at projects.blender.org
>http://projects.blender.org/mailman/listinfo/bf-committers
>  
>


More information about the Bf-committers mailing list