Branch: refs/heads/ta/fix-clang-warnings Home: https://github.com/fvwmorg/fvwm Commit: 4955863e8136a5a7a5d8622efc11f60792344b16 https://github.com/fvwmorg/fvwm/commit/4955863e8136a5a7a5d8622efc11f60792344b16 Author: Thomas Adam <tho...@fvwm.org> Date: 2016-04-17 (Sun, 17 Apr 2016)
Changed paths: M bin/Makefile.am Log Message: ----------- Add missing Xinerama_LIBS/CFLAGS options Needed when linking against Xinerama. Commit: fdd8425860d947d5c113a301f0bb10df4a0dd989 https://github.com/fvwmorg/fvwm/commit/fdd8425860d947d5c113a301f0bb10df4a0dd989 Author: Thomas Adam <tho...@fvwm.org> Date: 2016-04-17 (Sun, 17 Apr 2016) Changed paths: M fvwm/borders.c M fvwm/style.c Log Message: ----------- clang: fix errors from int/bit-field conversions Rather than making the compiler guess (via ~0) the size of the field, explicitly list those values. Commit: 5cf7791ce6836e3c1c5a6bf468279315d939ad87 https://github.com/fvwmorg/fvwm/commit/5cf7791ce6836e3c1c5a6bf468279315d939ad87 Author: Thomas Adam <tho...@fvwm.org> Date: 2016-04-17 (Sun, 17 Apr 2016) Changed paths: M fvwm/builtins.c M fvwm/conditional.c M fvwm/ewmh_events.c M modules/FvwmAnimate/FvwmAnimate.c M modules/FvwmIconMan/x.c Log Message: ----------- clang: fix signed/tautological comparisons Fix clang warnings about signedness checks either being true/false, and tasutological checks being true/false. Commit: 7f61839ed025604fc8d72e400c8acd031ff9b4ca https://github.com/fvwmorg/fvwm/commit/7f61839ed025604fc8d72e400c8acd031ff9b4ca Author: Thomas Adam <tho...@fvwm.org> Date: 2016-04-17 (Sun, 17 Apr 2016) Changed paths: M fvwm/placement.c M libs/fsm.c Log Message: ----------- clang: fix missing cast types Explicitly cast the rvalue to the expected type of the lvalue in assignments. Commit: 556452db70c63f7c3aba93feb07095986872f47c https://github.com/fvwmorg/fvwm/commit/556452db70c63f7c3aba93feb07095986872f47c Author: Thomas Adam <tho...@fvwm.org> Date: 2016-04-17 (Sun, 17 Apr 2016) Changed paths: M bin/fvwm-root.c M fvwm/fvwm.c M libs/Fsvg.h M libs/fvwmlib.c Log Message: ----------- clang: fix rsvg deprecation warnings Rework out of date headers, and mask out common functions to run only when needed. Commit: 826287d48644f0253e1e4095b8c7e62ad492b424 https://github.com/fvwmorg/fvwm/commit/826287d48644f0253e1e4095b8c7e62ad492b424 Author: Thomas Adam <tho...@fvwm.org> Date: 2016-04-17 (Sun, 17 Apr 2016) Changed paths: M libs/Bindings.c Log Message: ----------- clang: fix logical-not-parentheses error Add constraining parenthesis around the condition, to prevent potential order of precendence from negating the check in the first place. Compare: https://github.com/fvwmorg/fvwm/compare/b05b3dd4f1c6...826287d48644