Bugs item #1788587, was opened at 2007-09-05 18:01
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=1788587&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: externals
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: IOhannes m zm�lnig (zmoelnig)
Assigned to: Martin Peach (mrpeach)
Summary: unpackOSC doesn't like typed floats

Initial Comment:
unpackOSC does not decode an osc-message correctly that contains a 
floating-point number and typetags.
(see attached patch to trigger the bug)

the problem only occurs if compiled with strict-aliasing enabled (default on 
gcc>3.0 with optimization levels 2, 3, s), because unpackOSC uses pointer-casts 
for re-interpreting the data.

for information on this see:
http://mail.opensolaris.org/pipermail/tools-gcc/2005-August/000047.html

one way to prevent this problem is by adding the "-fno-strict-aliasing" to the 
CFLAGS.

unfortunately, osc comes without build-system so you cannot add this flag...

tested with: pd-0.40.1, pd-0.41test6 (linux x86)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=1788587&group_id=55736

_______________________________________________
PD-dev mailing list
[email protected]
http://lists.puredata.info/listinfo/pd-dev

Reply via email to