[Bf-committers] Re: Radio code!

GSR gsr.b3d at infernal-iceberg.com
Mon Dec 11 00:56:19 CET 2006


Hi,
ton at blender.org (2006-12-10 at 2316.02 +0100):
> gcc error:
> "radpostprocess.c:760: warning: dereferencing type-punned pointer will  
> break strict-aliasing rules"

There are more things like that (some, I did not look for all, and the
compile was not from make clean):

shadbuf.c: In function "isb_bsp_face_inside":
shadbuf.c:1258: warning: dereferencing type-punned pointer will break
strict-aliasing rules
shadbuf.c:1258: warning: dereferencing type-punned pointer will break
strict-aliasing rules
shadbuf.c:1267: warning: dereferencing type-punned pointer will break
strict-aliasing rules
shadbuf.c: In function "isb_make_buffer":
shadbuf.c:1684: warning: dereferencing type-punned pointer will break
strict-ali asing rules
shadbuf.c:1702: warning: dereferencing type-punned pointer will break
strict-aliasing rules
shadbuf.c: In function "isb_make_buffer_transp":
shadbuf.c:1882: warning: dereferencing type-punned pointer will break
strict-aliasing rules
shadbuf.c:1897: warning: dereferencing type-punned pointer will break
strict-aliasing rules

displist.c: In function "shadeMeshMCol":
displist.c:568: warning: dereferencing type-punned pointer will break
strict-aliasing rules

exotic.c: In function "read_videoscape_nurbs":
exotic.c:959: warning: dereferencing type-punned pointer will break
strict-aliasing rules

modifier.c: In function "displaceModifier_foreachIDLink":
modifier.c:2255: warning: dereferencing type-punned pointer will break
strict-aliasing rules
modifier.c: In function "uvprojectModifier_foreachIDLink":
modifier.c:2560: warning: dereferencing type-punned pointer will break
strict-aliasing rules

property.c: In function "compare_property":
property.c:184: warning: dereferencing type-punned pointer will break
strict-aliasing rules
property.c: In function "set_property":
property.c:212: warning: dereferencing type-punned pointer will break
strict-aliasing rules
property.c: In function "add_property":
property.c:232: warning: dereferencing type-punned pointer will break
strict-aliasing rules
property.c: In function "set_property_valstr":
property.c:254: warning: dereferencing type-punned pointer will break
strict-aliasing rules

This one is probably left overs from an editor, tho:

node.c:61: warning: ignoring #pragma mark
node.c:228: warning: ignoring #pragma mark
node.c:736: warning: ignoring #pragma mark
node.c:1026: warning: ignoring #pragma mark
node.c:1250: warning: ignoring #pragma mark
node.c:1369: warning: ignoring #pragma mark
node.c:1517: warning: ignoring #pragma mark
node.c:1607: warning: ignoring #pragma mark

GSR
 


More information about the Bf-committers mailing list