[Bf-committers] Re: [Bf-blender-cvs] CVS commit: blender/source/blender/src editobject.c

Ton Roosendaal ton at blender.org
Sun Apr 2 19:24:20 CEST 2006


Hi,

Very weird... it would really help us when scons and make would give  
identical warnings.
Make just uses -Wall, and myself I added -g for debug symbols.

-Ton-

On 2 Apr, 2006, at 16:17, Ken Hughes wrote:

> Ton Roosendaal wrote:
>> Hi Ken,
>> I don't know what OS you compile in, but checking for warnings is  
>> very  important!
>> gcc gave me this:
>>  > editobject.c: In function `docentre':
>>  > editobject.c:1584: warning: `cu' might be used uninitialized in  
>> this  function
>> Which was pointing at a serious problem in the code... I do realize  
>> the  docentre function is a very bad construct of itself, mixing up  
>> editmode  and objectmode in a confusing way.
>
> Compiling under linux with scons, gcc 3.4.5.  I get no such warning.  
> Maybe there need to be more flags set by default?
>
> Ken
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-committers
>
>
------------------------------------------------------------------------ 
--
Ton Roosendaal  Blender Foundation ton at blender.org  
http://www.blender.org



More information about the Bf-committers mailing list