[PD-dev] clang warning fixes

Dan Wilcox danomatika at gmail.com
Fri Apr 1 10:36:56 CEST 2016


Since no one is biting, I managed to fix most of the warnings by defining HAVE_ALLOCA_H and -Wno-parentheses in the Makefile.

Here’s a patch with the residuals: 

* add default: break; for unhandled case statements
* change stddef.h include to stdlib.h for alloca() on BSD as per Tobias request



> Howdy all,
> 
> I put the proposed changes in the previous patches into a couple WIP branches on GH.
> 
> https://github.com/pure-data/pure-data/pull/11 <https://github.com/pure-data/pure-data/pull/11> <https://github.com/pure-data/pure-data/pull/11 <https://github.com/pure-data/pure-data/pull/11>>
> 
> https://github.com/pure-data/pure-data/pull/12 <https://github.com/pure-data/pure-data/pull/12> <https://github.com/pure-data/pure-data/pull/12 <https://github.com/pure-data/pure-data/pull/12>>

--------
Dan Wilcox
@danomatika <https://twitter.com/danomatika>
danomatika.com <http://danomatika.com/>
robotcowboy.com <http://robotcowboy.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20160401/cec427c0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: warning_fixes3.patch
Type: application/octet-stream
Size: 4898 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20160401/cec427c0/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20160401/cec427c0/attachment-0001.html>


More information about the Pd-dev mailing list