Bug 16970 – Fix deprecations and warnings when compiling Phobos

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2016-12-14T12:06:00Z
Last change time
2017-01-16T23:26:17Z
Keywords
bootcamp, pull
Assigned to
edi33416
Creator
bugzilla

Comments

Comment #0 by bugzilla — 2016-12-14T12:06:30Z
If we can't fix the deprecations in our own code, how can we expect anyone else to? Marked as 'major'. std\windows\registry.d(572): Deprecation: module core.bitop is not accessible here, perhaps add 'static import core.bito p;' std\windows\registry.d(658): Deprecation: module core.bitop is not accessible here, perhaps add 'static import core.bito p;' std\traits.d-mixin-6987(6987): Deprecation: std.internal.test.uda.HasPrivateMembers.c is not visible from module traits std\traits.d-mixin-6987(6987): Deprecation: std.internal.test.uda.HasPrivateMembers.d is not visible from module traits std\traits.d-mixin-6979(6979): Deprecation: std.internal.test.uda.HasPrivateMembers.c is not visible from module traits ..\druntime\src\core\bitop.d(387): Warning: Ddoc: parameter count mismatch std\algorithm\iteration.d(2631): Warning: Ddoc: function declaration has no parameter 'fun' std\algorithm\iteration.d(2631): Warning: Ddoc: parameter count mismatch std\algorithm\iteration.d(2671): Warning: Ddoc: function declaration has no parameter 'fun' std\algorithm\iteration.d(2671): Warning: Ddoc: parameter count mismatch std\algorithm\iteration.d(3146): Warning: Ddoc: function declaration has no parameter 'fun' std\algorithm\iteration.d(3146): Warning: Ddoc: parameter count mismatch std\algorithm\iteration.d(3166): Warning: Ddoc: function declaration has no parameter 'fun' std\algorithm\iteration.d(3166): Warning: Ddoc: parameter count mismatch std\exception.d(2159): Warning: Ddoc: Stray ')'. This may cause incorrect Ddoc output. Use $(RPAREN) instead for unpaire d right parentheses. std\exception.d(2159): Warning: Ddoc: Stray ')'. This may cause incorrect Ddoc output. Use $(RPAREN) instead for unpaire d right parentheses. std\range\package.d(1865): Warning: Ddoc: function declaration has no parameter 'r' std\socket.d(675): Warning: Ddoc: Stray ')'. This may cause incorrect Ddoc output. Use $(RPAREN) instead for unpaired ri ght parentheses. std\stdio.d(2371): Warning: Ddoc: function declaration has no parameter 'file' std\stdio.d(2371): Warning: Ddoc: parameter count mismatch std\utf.d(3542): Warning: Ddoc: function declaration has no parameter 'r' std\experimental\ndslice\iteration.d(410): Warning: Ddoc: function declaration has no parameter 'dimension' std\experimental\ndslice\iteration.d(540): Warning: Ddoc: function declaration has no parameter 'dimension' std\experimental\ndslice\iteration.d(648): Warning: Ddoc: function declaration has no parameter 'dimensions' std\experimental\ndslice\iteration.d(648): Warning: Ddoc: function declaration has no parameter 'factors' std\experimental\ndslice\iteration.d(1002): Warning: Ddoc: function declaration has no parameter 'ns' std\experimental\ndslice\iteration.d(1097): Warning: Ddoc: function declaration has no parameter 'ns' std\experimental\ndslice\slice.d(612): Warning: Ddoc: function declaration has no parameter 'slice' std\experimental\ndslice\slice.d(612): Warning: Ddoc: parameter count mismatch std\experimental\ndslice\slice.d(752): Warning: Ddoc: function declaration has no parameter 'init' std\experimental\ndslice\slice.d(752): Warning: Ddoc: function declaration has no parameter 'slice' std\experimental\ndslice\slice.d(752): Warning: Ddoc: parameter count mismatch std\windows\registry.d(572): Deprecation: module core.bitop is not accessible here, perhaps add 'static import core.bito p;' std\windows\registry.d(658): Deprecation: module core.bitop is not accessible here, perhaps add 'static import core.bito p;' std\windows\registry.d(123): Warning: Ddoc: parameter count mismatch std\windows\registry.d(136): Warning: Ddoc: parameter count mismatch std\windows\registry.d(894): Warning: Ddoc: parameter count mismatch std\windows\registry.d(969): Warning: Ddoc: parameter count mismatch
Comment #1 by andrei — 2016-12-14T18:31:09Z
Use this for building phobos to see some problems: make -f posix.mak html
Comment #2 by edi33416 — 2016-12-16T14:09:57Z
Comment #3 by github-bugzilla — 2016-12-27T21:43:18Z
Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/3d98191ce9fee0d2bf2b2c4982242afe413e37bd Fix issue 16970 - Fix deprecations and warnings when compiling Phobos https://github.com/dlang/phobos/commit/032d04df03d3570dd9df882375b012d48813238f Merge pull request #4956 from edi33416/fix_deprecations Fix issue 16970 - Fix deprecations and warnings when compiling Phobos merged-on-behalf-of: Sebastian Wilzbach <[email protected]>
Comment #4 by github-bugzilla — 2017-01-07T03:03:22Z
Commits pushed to stable at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/3d98191ce9fee0d2bf2b2c4982242afe413e37bd Fix issue 16970 - Fix deprecations and warnings when compiling Phobos https://github.com/dlang/phobos/commit/032d04df03d3570dd9df882375b012d48813238f Merge pull request #4956 from edi33416/fix_deprecations
Comment #5 by github-bugzilla — 2017-01-16T23:26:17Z
Commits pushed to newCTFE at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/3d98191ce9fee0d2bf2b2c4982242afe413e37bd Fix issue 16970 - Fix deprecations and warnings when compiling Phobos https://github.com/dlang/phobos/commit/032d04df03d3570dd9df882375b012d48813238f Merge pull request #4956 from edi33416/fix_deprecations