June 05, 2014 [dmd-internals] [D-Programming-Language/dmd] 98d02c: Fix signed/unsigned warnings related to 'global.er... | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: 98d02c009a021b889f7afaf04dd6cce6f0e1444c https://github.com/D-Programming-Language/dmd/commit/98d02c009a021b889f7afaf04dd6cce6f0e1444c Author: Anders Ro <anders.ronnbrant@gmail.com> Date: 2014-05-30 (Fri, 30 May 2014) Changed paths: M src/declaration.c M src/expression.c M src/func.c M src/init.c M src/mtype.c M src/template.c Log Message: ----------- Fix signed/unsigned warnings related to 'global.errors' Most function local variables assigned to by global.errors are 'int' while global.errors is of type 'unsigned'. For clarity 'unsigned int' is used. Commit: 829b1d1d81748eef3b6fbb3f71c36332894d18f0 https://github.com/D-Programming-Language/dmd/commit/829b1d1d81748eef3b6fbb3f71c36332894d18f0 Author: Anders Ro <anders.ronnbrant@gmail.com> Date: 2014-05-30 (Fri, 30 May 2014) Changed paths: M src/ctfeexpr.c M src/expression.c M src/func.c M src/interpret.c Log Message: ----------- Fix signed/unsigned warnings in for-loops Commit: eb920779cda209ae362ff43b45ef0542ee47028f https://github.com/D-Programming-Language/dmd/commit/eb920779cda209ae362ff43b45ef0542ee47028f Author: Anders Ro <anders.ronnbrant@gmail.com> Date: 2014-05-31 (Sat, 31 May 2014) Changed paths: M src/backend/strtold.c M src/cast.c M src/class.c M src/clone.c M src/e2ir.c M src/expression.c M src/func.c M src/glue.c M src/iasm.c M src/inline.c M src/interpret.c M src/irstate.c M src/macro.c M src/mars.c M src/mtype.c M src/opover.c M src/optimize.c M src/parse.c M src/statement.c M src/struct.c M src/template.c M src/traits.c Log Message: ----------- Fix -Wunused warnings for variables in DMD_OBJS Warnings reported by -Wunused fixed by either removing code or putting it within the if-ifdef scope where the code is used. Commit: 32f16dcaf5256d3af7568b7c7961c165be867b9c https://github.com/D-Programming-Language/dmd/commit/32f16dcaf5256d3af7568b7c7961c165be867b9c Author: Anders Ro <anders.ronnbrant@gmail.com> Date: 2014-05-31 (Sat, 31 May 2014) Changed paths: M src/clone.c M src/func.c M src/opover.c M src/statement.c M src/template.c Log Message: ----------- Fix -Wunused warnings for assignment in if-statements Warnings reported by -Wunused for variable assignment in if-statements. Commit: 4b279178ec682d55f081bc1708f2edabf41c1714 https://github.com/D-Programming-Language/dmd/commit/4b279178ec682d55f081bc1708f2edabf41c1714 Author: Anders Ro <anders.ronnbrant@gmail.com> Date: 2014-05-31 (Sat, 31 May 2014) Changed paths: M src/constfold.c M src/dsymbol.c M src/parse.c Log Message: ----------- Fix warnings about uninitialized values Commit: 9180ba2094a21e8d415d5036fef9a40e7fce5370 https://github.com/D-Programming-Language/dmd/commit/9180ba2094a21e8d415d5036fef9a40e7fce5370 Author: Walter Bright <walter@walterbright.com> Date: 2014-06-05 (Thu, 05 Jun 2014) Changed paths: M src/backend/strtold.c M src/cast.c M src/class.c M src/clone.c M src/constfold.c M src/ctfeexpr.c M src/declaration.c M src/dsymbol.c M src/e2ir.c M src/expression.c M src/func.c M src/glue.c M src/iasm.c M src/init.c M src/inline.c M src/interpret.c M src/irstate.c M src/macro.c M src/mars.c M src/mtype.c M src/opover.c M src/optimize.c M src/parse.c M src/statement.c M src/struct.c M src/template.c M src/traits.c Log Message: ----------- Merge pull request #3598 from andron/fix-warnings Fix minor warning issues Compare: https://github.com/D-Programming-Language/dmd/compare/45dd2242f378...9180ba2094a2 |
Copyright © 1999-2021 by the D Language Foundation