opendlang / opend

Boost Software License 1.0
76 stars 17 forks source link

Musl: clean #67

Closed kassane closed 3 months ago

kassane commented 3 months ago

Based on: #66

$ ./opend/ldc/build/bin/ldc2 --version | head -n 5
LDC - the LLVM D compiler (1.36.0):
  based on DMD v2.106.1 and LLVM 17.0.5
  built with LDC - the LLVM D compiler (1.36.0)
  Default target: x86_64-alpine-linux-musl
  Host CPU: znver3

Thanks, JohanEngelen for help.

References

cc: @adamdruppe

kassane commented 3 months ago

During build (self-hosting: opend-ldc build opend-ldc) [patch applied]

Full-log: build.log

build warnings ```bash [142/270] Linking HOST_D static library lib/libldc.a ../compiler/src/dmd/cond.d(165): Deprecation: `void` initializers for pointers not allowed in safe functions ../compiler/src/dmd/cond.d(398): Deprecation: `void` initializers for pointers not allowed in safe functions ../compiler/src/dmd/cond.d(399): Deprecation: `void` initializers for pointers not allowed in safe functions ../compiler/src/dmd/dstruct.d(57): Deprecation: __gshared not allowed in safe functions; use shared ../compiler/src/dmd/clone.d(791): Deprecation: __gshared not allowed in safe functions; use shared ../compiler/src/dmd/statementsem.d(4037): Deprecation: __gshared not allowed in safe functions; use shared ../compiler/src/dmd/statementsem.d(4038): Deprecation: __gshared not allowed in safe functions; use shared ../compiler/src/dmd/statementsem.d(4040): Deprecation: `@safe` function `applyAssocArray` cannot index pointer `fdapply` ../compiler/src/dmd/statementsem.d(4049): Deprecation: `@safe` function `applyAssocArray` cannot index pointer `fldeTy` ../compiler/src/dmd/statementsem.d(4050): Deprecation: `@safe` function `applyAssocArray` cannot index pointer `fldeTy` ../compiler/src/dmd/statementsem.d(4051): Deprecation: `@safe` function `applyAssocArray` cannot index pointer `fdapply` ../compiler/src/dmd/statementsem.d(4063): Deprecation: `@safe` function `applyAssocArray` cannot index pointer `fldeTy` ../compiler/src/dmd/statementsem.d(4066): Deprecation: `@safe` function `applyAssocArray` cannot index pointer `fldeTy` ../compiler/src/dmd/statementsem.d(4070): Deprecation: `@safe` function `applyAssocArray` cannot index pointer `fdapply` ../compiler/src/dmd/file_manager.d(418): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/constfold.d(1239): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/constfold.d(1256): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/constfold.d(1311): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/constfold.d(1323): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/constfold.d(1323): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/constfold.d(1488): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/constfold.d(1545): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/constfold.d(1547): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/constfold.d(1567): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/dtoh.d(863): Deprecation: __gshared not allowed in safe functions; use shared ../compiler/src/dmd/dtoh.d(2787): Deprecation: `void` initializers for pointers not allowed in safe functions ../compiler/src/dmd/dtoh.d(3093): Deprecation: __gshared not allowed in safe functions; use shared ../compiler/src/dmd/objc.d(78): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/ob.d(1217): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/ob.d(1218): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/ob.d(1219): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/errors.d(47): Deprecation: `void` initializers for pointers not allowed in safe functions ../compiler/src/dmd/errors.d(55): Deprecation: `void` initializers for pointers not allowed in safe functions ../compiler/src/dmd/errors.d(63): Deprecation: `void` initializers for pointers not allowed in safe functions ../compiler/src/dmd/errors.d(71): Deprecation: `void` initializers for pointers not allowed in safe functions ../compiler/src/dmd/errors.d(79): Deprecation: `void` initializers for pointers not allowed in safe functions ../compiler/src/dmd/errors.d(87): Deprecation: `void` initializers for pointers not allowed in safe functions ../compiler/src/dmd/errors.d(95): Deprecation: `void` initializers for pointers not allowed in safe functions ../compiler/src/dmd/errors.d(121): Deprecation: `void` initializers for pointers not allowed in safe functions ../compiler/src/dmd/errors.d(171): Deprecation: `void` initializers for pointers not allowed in safe functions ../compiler/src/dmd/errors.d(198): Deprecation: `void` initializers for pointers not allowed in safe functions ../compiler/src/dmd/errors.d(224): Deprecation: `void` initializers for pointers not allowed in safe functions ../compiler/src/dmd/errors.d(248): Deprecation: `void` initializers for pointers not allowed in safe functions ../compiler/src/dmd/errors.d(273): Deprecation: `void` initializers for pointers not allowed in safe functions ../compiler/src/dmd/errors.d(298): Deprecation: `void` initializers for pointers not allowed in safe functions ../compiler/src/dmd/errors.d(323): Deprecation: `void` initializers for pointers not allowed in safe functions ../compiler/src/dmd/errors.d(348): Deprecation: `void` initializers for pointers not allowed in safe functions ../compiler/src/dmd/errors.d(371): Deprecation: `void` initializers for pointers not allowed in safe functions ../compiler/src/dmd/errors.d(408): Deprecation: `void` initializers for pointers not allowed in safe functions ../compiler/src/dmd/errors.d(651): Deprecation: __gshared not allowed in safe functions; use shared ../compiler/src/dmd/errors.d(803): Deprecation: __gshared not allowed in safe functions; use shared ../compiler/src/dmd/escape.d(2344): Deprecation: `void` initializers for pointers not allowed in safe functions ../compiler/src/dmd/hdrgen.d(2952): Deprecation: `@safe` function `floatToBuffer` cannot index pointer `&buffer` ../compiler/src/dmd/errorsink.d(48): Deprecation: `void` initializers for pointers not allowed in safe functions ../compiler/src/dmd/errorsink.d(50): Deprecation: `void` initializers for pointers not allowed in safe functions ../compiler/src/dmd/errorsink.d(52): Deprecation: `void` initializers for pointers not allowed in safe functions ../compiler/src/dmd/errorsink.d(54): Deprecation: `void` initializers for pointers not allowed in safe functions ../compiler/src/dmd/errorsink.d(56): Deprecation: `void` initializers for pointers not allowed in safe functions ../compiler/src/dmd/errorsink.d(58): Deprecation: `void` initializers for pointers not allowed in safe functions ../compiler/src/dmd/errorsink.d(60): Deprecation: `void` initializers for pointers not allowed in safe functions ../compiler/src/dmd/errorsink.d(74): Deprecation: `void` initializers for pointers not allowed in safe functions ../compiler/src/dmd/errorsink.d(90): Deprecation: `void` initializers for pointers not allowed in safe functions ../compiler/src/dmd/errorsink.d(107): Deprecation: `void` initializers for pointers not allowed in safe functions ../compiler/src/dmd/errorsink.d(109): Deprecation: `void` initializers for pointers not allowed in safe functions ../compiler/src/dmd/errorsink.d(126): Deprecation: `void` initializers for pointers not allowed in safe functions ../compiler/src/dmd/errorsink.d(128): Deprecation: `void` initializers for pointers not allowed in safe functions ../compiler/src/dmd/errorsink.d(145): Deprecation: `void` initializers for pointers not allowed in safe functions ../compiler/src/dmd/errorsink.d(161): Deprecation: `void` initializers for pointers not allowed in safe functions ../compiler/src/dmd/lexer.d(129): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(130): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(149): Deprecation: `@safe` function `this` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(151): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(152): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(158): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(203): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(327): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(330): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(333): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(347): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(358): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(379): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(398): Deprecation: `@safe` function `scan` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(398): Deprecation: `@safe` function `scan` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(400): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(406): Deprecation: `@safe` function `scan` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(408): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(416): Deprecation: `@safe` function `scan` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(419): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(428): Deprecation: `@safe` function `scan` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(428): Deprecation: `@safe` function `scan` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(430): Deprecation: `@safe` function `scan` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(432): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(449): Deprecation: `@safe` function `scan` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(454): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(458): Deprecation: `@safe` function `scan` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(461): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(468): Deprecation: `@safe` function `scan` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(468): Deprecation: `@safe` function `scan` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(470): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(477): Deprecation: `@safe` function `scan` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(479): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(487): Deprecation: `@safe` function `scan` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(489): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(495): Deprecation: `@safe` function `scan` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(497): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(501): Deprecation: `@safe` function `scan` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(503): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(512): Deprecation: `@safe` function `scan` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(514): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(518): Deprecation: `@safe` function `scan` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(520): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(524): Deprecation: `@safe` function `scan` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(524): Deprecation: `@safe` function `scan` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(526): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(591): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(651): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(658): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(662): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(666): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(679): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(682): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(700): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(705): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(706): Deprecation: `@safe` function `scan` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(706): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(715): Deprecation: `@safe` function `scan` cannot index pointer `(*t).ptr` ../compiler/src/dmd/lexer.d(715): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(726): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(732): Deprecation: `@safe` function `scan` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(733): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(744): Deprecation: `@safe` function `scan` cannot index pointer `(*t).ptr` ../compiler/src/dmd/lexer.d(769): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(776): Deprecation: `@safe` function `scan` cannot index pointer `(*t).ptr` ../compiler/src/dmd/lexer.d(781): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(789): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(797): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(800): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(805): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(808): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(814): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(820): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(836): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(847): Deprecation: `@safe` function `scan` cannot index pointer `(*t).ptr` ../compiler/src/dmd/lexer.d(847): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(862): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(868): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(873): Deprecation: `@safe` function `scan` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(875): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(880): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(888): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(891): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(896): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(903): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(906): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(911): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(918): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(921): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(926): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(931): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(938): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(941): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(946): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(953): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(956): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(961): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(964): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(972): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(977): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(984): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(987): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(992): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(995): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1000): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1003): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1016): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1019): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1026): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1029): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1034): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1041): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1044): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1051): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1054): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1057): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1065): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1072): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1076): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1080): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1084): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1088): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1092): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1096): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1100): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1104): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1108): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1111): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1116): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1123): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1127): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1131): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1134): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1141): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1144): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1149): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1165): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1183): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1197): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1298): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1330): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1349): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1363): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1383): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1391): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1391): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1406): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1431): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1441): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1469): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1474): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1499): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1514): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1516): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1537): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1541): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1562): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1583): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1585): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1632): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1637): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1666): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1671): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1673): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1761): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1797): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1813): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1815): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1826): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1859): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1879): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1915): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1919): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1943): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1989): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(1997): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(2006): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(2024): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(2025): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(2058): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(2067): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(2069): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(2095): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(2101): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(2108): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(2148): Deprecation: `@safe` function `clexerCharConstant` cannot index pointer `cast(char*)& u` ../compiler/src/dmd/lexer.d(2198): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(2231): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(2252): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(2258): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(2263): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(2267): Deprecation: `@safe` function `number` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(2269): Deprecation: `@safe` function `number` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(2269): Deprecation: `@safe` function `number` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(2269): Deprecation: `@safe` function `number` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(2271): Deprecation: `@safe` function `number` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(2271): Deprecation: `@safe` function `number` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(2271): Deprecation: `@safe` function `number` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(2271): Deprecation: `@safe` function `number` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(2283): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(2287): Deprecation: `@safe` function `number` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(2309): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(2324): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(2336): Deprecation: `@safe` function `number` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(2340): Deprecation: `@safe` function `number` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(2342): Deprecation: `@safe` function `number` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(2342): Deprecation: `@safe` function `number` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(2342): Deprecation: `@safe` function `number` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(2345): Deprecation: `@safe` function `number` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(2345): Deprecation: `@safe` function `number` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(2345): Deprecation: `@safe` function `number` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(2345): Deprecation: `@safe` function `number` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(2345): Deprecation: `@safe` function `number` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(2345): Deprecation: `@safe` function `number` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(2349): Deprecation: `@safe` function `number` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(2349): Deprecation: `@safe` function `number` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(2349): Deprecation: `@safe` function `number` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(2368): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(2440): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(2443): Deprecation: `@safe` function `number` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(2579): Deprecation: `@safe` function `cnumber` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(2582): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(2588): Deprecation: `@safe` function `cnumber` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(2591): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(2593): Deprecation: `@safe` function `cnumber` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(2593): Deprecation: `@safe` function `cnumber` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(2596): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(2598): Deprecation: `@safe` function `cnumber` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(2598): Deprecation: `@safe` function `cnumber` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(2601): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(2603): Deprecation: `@safe` function `cnumber` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(2603): Deprecation: `@safe` function `cnumber` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(2606): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(2610): Deprecation: `@safe` function `cnumber` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(2610): Deprecation: `@safe` function `cnumber` cannot index pointer `this.p` ../compiler/src/dmd/lexer.d(2620): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(2801): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(2805): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(2809): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(2817): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(2822): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(2832): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(2839): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(2842): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(2850): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(2857): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(2873): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(2878): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(2889): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(2900): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(2912): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(2926): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(2980): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(3161): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(3165): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(3167): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(3178): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(3182): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(3216): Deprecation: `@safe` function `decodeUTFpure` cannot index pointer `s` ../compiler/src/dmd/lexer.d(3222): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(3243): Deprecation: `@safe` function `getDocComment` cannot index pointer `(*t).ptr` ../compiler/src/dmd/lexer.d(3246): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(3249): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(3252): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(3263): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(3269): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(3271): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(3276): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(3284): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(3286): Deprecation: `@safe` function `getDocComment` cannot index pointer `qend` ../compiler/src/dmd/lexer.d(3304): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(3324): Deprecation: `@safe` function `getDocComment` cannot index pointer `q` ../compiler/src/dmd/lexer.d(3331): Deprecation: `@safe` function `getDocComment` cannot index pointer `q` ../compiler/src/dmd/lexer.d(3331): Deprecation: `@safe` function `getDocComment` cannot index pointer `q` ../compiler/src/dmd/lexer.d(3331): Deprecation: `@safe` function `getDocComment` cannot index pointer `q` ../compiler/src/dmd/lexer.d(3333): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/lexer.d(3393): Deprecation: `@safe` function `combineComments` cannot index pointer `p` ../compiler/src/dmd/lexer.d(3395): Deprecation: `@safe` function `combineComments` cannot index pointer `p` ../compiler/src/dmd/lexer.d(3397): Deprecation: `@safe` function `combineComments` cannot index pointer `p` ../compiler/src/dmd/builtin.d(209): Deprecation: `@safe` function `determine_builtin` cannot index pointer `me` ../compiler/src/dmd/func.d(2868): Deprecation: __gshared not allowed in safe functions; use shared ../compiler/src/dmd/semantic2.d(799): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/semantic2.d(800): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/dsymbol.d(1250): Deprecation: `@safe` function `importScope` cannot index pointer `this.visibilities` ../compiler/src/dmd/dsymbol.d(1251): Deprecation: `@safe` function `importScope` cannot index pointer `this.visibilities` ../compiler/src/dmd/dsymbol.d(1258): Deprecation: `@safe` function `importScope` cannot index pointer `this.visibilities` ../compiler/src/dmd/dsymbol.d(1304): Deprecation: `@safe` function `isPackageAccessible` cannot index pointer `this.visibilities` ../compiler/src/dmd/root/aav.d(86): Deprecation: `@safe` function `dmd_aaGet` cannot index pointer `(**paa).b` ../compiler/src/dmd/root/aav.d(124): Deprecation: `@safe` function `dmd_aaGetRvalue` cannot index pointer `(*aa).b` ../compiler/src/dmd/root/aav.d(245): Deprecation: `@safe` function `dmd_aaRehash` cannot index pointer `(*aa).b` ../compiler/src/dmd/root/aav.d(250): Deprecation: `@safe` function `dmd_aaRehash` cannot index pointer `newb` ../compiler/src/dmd/root/aav.d(251): Deprecation: `@safe` function `dmd_aaRehash` cannot index pointer `newb` ../compiler/src/dmd/root/bitarray.d(42): Deprecation: `@safe` function `length` cannot index pointer `this.ptr` ../compiler/src/dmd/root/bitarray.d(92): Deprecation: `@safe` function `isZero` cannot index pointer `this.ptr` ../compiler/src/dmd/root/bitarray.d(103): Deprecation: `@safe` function `or` cannot index pointer `this.ptr` ../compiler/src/dmd/root/bitarray.d(103): Deprecation: `@safe` function `or` cannot index pointer `b.ptr` ../compiler/src/dmd/root/bitarray.d(114): Deprecation: `@safe` function `swap` cannot index pointer `this.ptr` ../compiler/src/dmd/root/bitarray.d(115): Deprecation: `@safe` function `swap` cannot index pointer `this.ptr` ../compiler/src/dmd/root/bitarray.d(115): Deprecation: `@safe` function `swap` cannot index pointer `b.ptr` ../compiler/src/dmd/root/bitarray.d(116): Deprecation: `@safe` function `swap` cannot index pointer `b.ptr` ../compiler/src/dmd/root/filename.d(260): Deprecation: `@safe` function `removeExt` cannot index pointer `n` ../compiler/src/dmd/root/filename.d(348): Deprecation: `@safe` function `path` cannot index pointer `path` ../compiler/src/dmd/root/filename.d(422): Deprecation: `@safe` function `buildPath` cannot index pointer `p` ../compiler/src/dmd/root/filename.d(426): Deprecation: `@safe` function `buildPath` cannot index pointer `p` ../compiler/src/dmd/root/filename.d(438): Deprecation: `@safe` function `buildPath` cannot index pointer `p` ../compiler/src/dmd/root/filename.d(489): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/root/filename.d(491): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/root/filename.d(512): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/root/filename.d(528): Deprecation: `@safe` function `splitPath` cannot index pointer `p` ../compiler/src/dmd/root/filename.d(571): Deprecation: `@safe` function `addExt` cannot index pointer `s` ../compiler/src/dmd/root/filename.d(573): Deprecation: `@safe` function `addExt` cannot index pointer `s` ../compiler/src/dmd/root/port.d(47): Deprecation: `@safe` function `memicmp` cannot index pointer `s1` ../compiler/src/dmd/root/port.d(48): Deprecation: `@safe` function `memicmp` cannot index pointer `s2` ../compiler/src/dmd/root/port.d(68): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/root/port.d(142): Deprecation: `@safe` function `writelongLE` cannot index pointer `p` ../compiler/src/dmd/root/port.d(143): Deprecation: `@safe` function `writelongLE` cannot index pointer `p` ../compiler/src/dmd/root/port.d(144): Deprecation: `@safe` function `writelongLE` cannot index pointer `p` ../compiler/src/dmd/root/port.d(152): Deprecation: `@safe` function `readlongLE` cannot index pointer `p` ../compiler/src/dmd/root/port.d(152): Deprecation: `@safe` function `readlongLE` cannot index pointer `p` ../compiler/src/dmd/root/port.d(152): Deprecation: `@safe` function `readlongLE` cannot index pointer `p` ../compiler/src/dmd/root/port.d(160): Deprecation: `@safe` function `writelongBE` cannot index pointer `p` ../compiler/src/dmd/root/port.d(161): Deprecation: `@safe` function `writelongBE` cannot index pointer `p` ../compiler/src/dmd/root/port.d(162): Deprecation: `@safe` function `writelongBE` cannot index pointer `p` ../compiler/src/dmd/root/port.d(169): Deprecation: `@safe` function `readlongBE` cannot index pointer `p` ../compiler/src/dmd/root/port.d(169): Deprecation: `@safe` function `readlongBE` cannot index pointer `p` ../compiler/src/dmd/root/port.d(169): Deprecation: `@safe` function `readlongBE` cannot index pointer `p` ../compiler/src/dmd/root/port.d(176): Deprecation: `@safe` function `readwordLE` cannot index pointer `p` ../compiler/src/dmd/root/port.d(183): Deprecation: `@safe` function `readwordBE` cannot index pointer `p` ../compiler/src/dmd/root/rmem.d(135): Deprecation: __gshared not allowed in safe functions; use shared ../compiler/src/dmd/root/rmem.d(173): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/root/rmem.d(340): Deprecation: `@safe` function `xarraydup` cannot index pointer `p` ../compiler/src/dmd/root/region.d(71): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/root/region.d(122): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/root/string.d(43): Deprecation: `@safe` function `iequals` cannot index pointer `cast(const(char)*)s2` ../compiler/src/dmd/tokens.d(937): Deprecation: `@safe` function `appendInterpolatedPart` cannot index pointer `s` ../compiler/src/dmd/tokens.d(953): Deprecation: `@safe` function `setString` cannot index pointer `s` ../compiler/src/dmd/tokens.d(993): Deprecation: __gshared not allowed in safe functions; use shared ../compiler/src/dmd/tokens.d(1023): Deprecation: `@safe` function `toString` cannot index pointer `p` ../compiler/src/dmd/tokens.d(1024): Deprecation: `@safe` function `toString` cannot index pointer `p` ../compiler/src/dmd/tokens.d(1033): Deprecation: `@safe` function `toString` cannot index pointer `p` ../compiler/src/dmd/tokens.d(1034): Deprecation: `@safe` function `toString` cannot index pointer `p` ../compiler/src/dmd/tokens.d(1039): Deprecation: `@safe` function `toString` cannot index pointer `p` ../compiler/src/dmd/tokens.d(1040): Deprecation: `@safe` function `toString` cannot index pointer `p` ../compiler/src/dmd/tokens.d(1041): Deprecation: `@safe` function `toString` cannot index pointer `p` ../compiler/src/dmd/tokens.d(1046): Deprecation: `@safe` function `toString` cannot index pointer `p` ../compiler/src/dmd/tokens.d(1047): Deprecation: `@safe` function `toString` cannot index pointer `p` ../compiler/src/dmd/tokens.d(1052): Deprecation: `@safe` function `toString` cannot index pointer `p` ../compiler/src/dmd/tokens.d(1053): Deprecation: `@safe` function `toString` cannot index pointer `p` ../compiler/src/dmd/tokens.d(1054): Deprecation: `@safe` function `toString` cannot index pointer `p` ../compiler/src/dmd/tokens.d(1079): Deprecation: `@safe` function `toString` cannot index pointer `this.ustring` ../compiler/src/dmd/intrange.d(344): Deprecation: `@safe` function `fromNumbers2` cannot index pointer `numbers` ../compiler/src/dmd/intrange.d(345): Deprecation: `@safe` function `fromNumbers2` cannot index pointer `numbers` ../compiler/src/dmd/intrange.d(347): Deprecation: `@safe` function `fromNumbers2` cannot index pointer `numbers` ../compiler/src/dmd/intrange.d(353): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/ctfeexpr.d(563): Deprecation: `@safe` function `createBlockDuplicatedStringLiteral` cannot index pointer `s` ../compiler/src/dmd/ctfeexpr.d(566): Deprecation: `@safe` function `createBlockDuplicatedStringLiteral` cannot index pointer `cast(wchar*)s` ../compiler/src/dmd/ctfeexpr.d(569): Deprecation: `@safe` function `createBlockDuplicatedStringLiteral` cannot index pointer `cast(dchar*)s` ../compiler/src/dmd/ctfeexpr.d(1385): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/ctfeexpr.d(1395): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/ctfeexpr.d(1398): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/ctfeexpr.d(1425): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/ctfeexpr.d(1428): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/ctfeexpr.d(1713): Deprecation: `@safe` function `changeArrayLiteralLength` cannot index pointer `cast(char*)s` ../compiler/src/dmd/ctfeexpr.d(1716): Deprecation: `@safe` function `changeArrayLiteralLength` cannot index pointer `cast(wchar*)s` ../compiler/src/dmd/ctfeexpr.d(1719): Deprecation: `@safe` function `changeArrayLiteralLength` cannot index pointer `cast(dchar*)s` ../compiler/src/dmd/dtemplate.d(376): Deprecation: `@safe` function `arrayObjectMatch` cannot index pointer `oa1d` ../compiler/src/dmd/dtemplate.d(377): Deprecation: `@safe` function `arrayObjectMatch` cannot index pointer `oa2d` ../compiler/src/dmd/dtemplate.d(493): Deprecation: `this` reference necessary to take address of member `equals` in `@safe` function `expressionHash` ../compiler/src/dmd/dtemplate.d(7735): Deprecation: __gshared not allowed in safe functions; use shared ../compiler/src/dmd/dtemplate.d(7753): Deprecation: __gshared not allowed in safe functions; use shared ../compiler/src/dmd/mtype.d(552): Deprecation: __gshared not allowed in safe functions; use shared ../compiler/src/dmd/mtype.d(581): Deprecation: `@safe` function `_init` cannot index pointer `basetab` ../compiler/src/dmd/mtype.d(583): Deprecation: `@safe` function `_init` cannot index pointer `basetab` ../compiler/src/dmd/mtype.d(585): Deprecation: `@safe` function `_init` cannot index pointer `basetab` ../compiler/src/dmd/dmodule.d(177): Deprecation: __gshared not allowed in safe functions; use shared ../compiler/src/dmd/dmodule.d(665): Deprecation: __gshared not allowed in safe functions; use shared ../compiler/src/dmd/dmodule.d(1120): Deprecation: __gshared not allowed in safe functions; use shared ../compiler/src/dmd/dmodule.d(1150): Deprecation: `@safe` function `runDeferredSemantic` cannot index pointer `todo` ../compiler/src/dmd/dmodule.d(1330): Deprecation: __gshared not allowed in safe functions; use shared ../compiler/src/dmd/dmodule.d(1344): Deprecation: __gshared not allowed in safe functions; use shared ../compiler/src/dmd/dmodule.d(1357): Deprecation: __gshared not allowed in safe functions; use shared ../compiler/src/dmd/expression.d(1106): Deprecation: __gshared not allowed in safe functions; use shared ../compiler/src/dmd/expression.d(1106): Deprecation: __gshared not allowed in safe functions; use shared ../compiler/src/dmd/expression.d(1670): Deprecation: `@safe` function `numberOfCodeUnits` cannot index pointer `this.dstring` ../compiler/src/dmd/expression.d(1704): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/expression.d(1723): Deprecation: `@safe` function `getCodeUnit` cannot index pointer `this.string` ../compiler/src/dmd/expression.d(1725): Deprecation: `@safe` function `getCodeUnit` cannot index pointer `this.wstring` ../compiler/src/dmd/expression.d(1727): Deprecation: `@safe` function `getCodeUnit` cannot index pointer `this.dstring` ../compiler/src/dmd/expression.d(1743): Deprecation: `@safe` function `setCodeUnit` cannot index pointer `this.string` ../compiler/src/dmd/expression.d(1746): Deprecation: `@safe` function `setCodeUnit` cannot index pointer `this.wstring` ../compiler/src/dmd/expression.d(1749): Deprecation: `@safe` function `setCodeUnit` cannot index pointer `this.dstring` ../compiler/src/dmd/expression.d(1802): Deprecation: `@safe` function `compare` cannot index pointer `s1` ../compiler/src/dmd/expression.d(1802): Deprecation: `@safe` function `compare` cannot index pointer `s2` ../compiler/src/dmd/expression.d(1803): Deprecation: `@safe` function `compare` cannot index pointer `s1` ../compiler/src/dmd/expression.d(1803): Deprecation: `@safe` function `compare` cannot index pointer `s2` ../compiler/src/dmd/expression.d(1813): Deprecation: `@safe` function `compare` cannot index pointer `s1` ../compiler/src/dmd/expression.d(1813): Deprecation: `@safe` function `compare` cannot index pointer `s2` ../compiler/src/dmd/expression.d(1814): Deprecation: `@safe` function `compare` cannot index pointer `s1` ../compiler/src/dmd/expression.d(1814): Deprecation: `@safe` function `compare` cannot index pointer `s2` ../compiler/src/dmd/doc.d(171): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(189): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(192): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(206): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(208): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(211): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(219): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(282): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(286): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(288): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(293): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(485): Deprecation: `@safe` function `gendocfile` cannot index pointer `p` ../compiler/src/dmd/doc.d(496): Deprecation: `@safe` function `gendocfile` cannot index pointer `p` ../compiler/src/dmd/doc.d(838): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(843): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(1575): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(1593): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(1597): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(1615): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(1624): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(1632): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(1651): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(1655): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(1657): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(1664): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(1687): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(1692): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(1696): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(1698): Deprecation: `@safe` function `parseEscapes` cannot index pointer `p` ../compiler/src/dmd/doc.d(1700): Deprecation: `@safe` function `parseEscapes` cannot index pointer `p` ../compiler/src/dmd/doc.d(1701): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(1709): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(1713): Deprecation: `@safe` function `parseEscapes` cannot index pointer `s` ../compiler/src/dmd/doc.d(1716): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(1746): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(1746): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(1752): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(1753): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(1753): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(1773): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(1782): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(1783): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(1790): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(1792): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(1796): Deprecation: `@safe` function `parseSections` cannot index pointer `q` ../compiler/src/dmd/doc.d(1796): Deprecation: `@safe` function `parseSections` cannot index pointer `q` ../compiler/src/dmd/doc.d(1800): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(1802): Deprecation: `@safe` function `parseSections` cannot index pointer `pend` ../compiler/src/dmd/doc.d(1805): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(1815): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(1819): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(1824): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(1905): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(1943): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(4267): Deprecation: `@safe` function `highlightText` cannot index pointer `p` ../compiler/src/dmd/doc.d(4267): Deprecation: `@safe` function `highlightText` cannot index pointer `p` ../compiler/src/dmd/doc.d(4267): Deprecation: `@safe` function `highlightText` cannot index pointer `p` ../compiler/src/dmd/doc.d(4270): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(4275): Deprecation: `@safe` function `highlightText` cannot index pointer `p` ../compiler/src/dmd/doc.d(4275): Deprecation: `@safe` function `highlightText` cannot index pointer `p` ../compiler/src/dmd/doc.d(4281): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(4286): Deprecation: `@safe` function `highlightText` cannot index pointer `p` ../compiler/src/dmd/doc.d(4286): Deprecation: `@safe` function `highlightText` cannot index pointer `p` ../compiler/src/dmd/doc.d(4286): Deprecation: `@safe` function `highlightText` cannot index pointer `p` ../compiler/src/dmd/doc.d(4289): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(4300): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(4380): Deprecation: `@safe` function `highlightText` cannot index pointer `cast(const(char)*)buf.opSlice()` ../compiler/src/dmd/doc.d(4381): Deprecation: `@safe` function `highlightText` cannot index pointer `p` ../compiler/src/dmd/doc.d(4381): Deprecation: `@safe` function `highlightText` cannot index pointer `p` ../compiler/src/dmd/doc.d(4593): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(4601): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(4604): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(4606): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(4611): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(4868): Deprecation: `@safe` function `highlightText` cannot index pointer `p` ../compiler/src/dmd/doc.d(4868): Deprecation: `@safe` function `highlightText` cannot index pointer `p` ../compiler/src/dmd/doc.d(4918): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(4946): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(5045): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(5157): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/doc.d(5314): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/expressionsem.d(5885): Deprecation: __gshared not allowed in safe functions; use shared ../compiler/src/dmd/globals.d(547): Deprecation: __gshared not allowed in safe functions; use shared ../compiler/src/dmd/globals.d(548): Deprecation: __gshared not allowed in safe functions; use shared ../compiler/src/dmd/globals.d(549): Deprecation: __gshared not allowed in safe functions; use shared ../compiler/src/dmd/globals.d(551): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/globals.d(551): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/globals.d(552): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/arrayop.d(135): Deprecation: __gshared not allowed in safe functions; use shared ../compiler/src/dmd/dsymbolsem.d(3239): Deprecation: __gshared not allowed in safe functions; use shared ../compiler/src/dmd/dsymbolsem.d(4353): Deprecation: __gshared not allowed in safe functions; use shared ../compiler/src/dmd/dsymbolsem.d(8261): Deprecation: `@safe` function `visit` cannot index pointer `sds.visibilities` ../compiler/src/dmd/compiler.d(383): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/compiler.d(387): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/compiler.d(393): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/compiler.d(393): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/compiler.d(394): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/compiler.d(396): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/compiler.d(402): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/compiler.d(408): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/utils.d(43): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/utils.d(142): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/utils.d(195): Deprecation: pointer arithmetic not allowed in @safe functions ../compiler/src/dmd/dinterpret.d(7653): Deprecation: `@safe` function `evaluateIfBuiltin` cannot index pointer `id` ../compiler/src/dmd/dinterpret.d(7654): Deprecation: `@safe` function `evaluateIfBuiltin` cannot index pointer `id` ../compiler/src/dmd/dinterpret.d(7655): Deprecation: `@safe` function `evaluateIfBuiltin` cannot index pointer `id` ../compiler/src/dmd/cppmangle.d(56): Deprecation: __gshared not allowed in safe functions; use shared ../compiler/src/dmd/traits.d(2315): Deprecation: __gshared not allowed in safe functions; use shared ../compiler/src/dmd/traits.d(2316): Deprecation: __gshared not allowed in safe functions; use shared ../compiler/src/dmd/traits.d(2323): Deprecation: __gshared not allowed in safe functions; use shared ../compiler/src/dmd/typesem.d(5383): Deprecation: __gshared not allowed in safe functions; use shared ../compiler/src/dmd/typesem.d(5384): Deprecation: __gshared not allowed in safe functions; use shared ../compiler/src/dmd/typesem.d(5385): Deprecation: __gshared not allowed in safe functions; use shared ../compiler/src/dmd/identifier.d(58): Deprecation: `@safe` function `this` cannot index pointer `name` ../compiler/src/dmd/identifier.d(193): Deprecation: __gshared not allowed in safe functions; use shared ../compiler/src/dmd/identifier.d(239): Deprecation: __gshared not allowed in safe functions; use shared [143/270] Linking CXX executable bin/ldc2 [144/270] Generating objects-debug-shared/phobos2.o ```
adamdruppe commented 3 months ago

yeah the compiler itself is not compatible with the safer-by-default changes, build it with an upstream compiler, or modify the makefile to take away that deprecations-as-errors flag

adamdruppe commented 3 months ago

i think this is ready to merge as-is. the compiler building itself is a separate thing

kassane commented 3 months ago

i think this is ready to merge as-is. the compiler building itself is a separate thing

Need fix, another targets.

e.g.:

aarch64/Linux error https://github.com/kassane/alpine-ldc2-docker/actions/runs/8603500918/job/23580711641#step:6:2051

 > [linux/arm64  4/11] RUN cd ldc     && cmake -B build     -DCMAKE_INSTALL_PREFIX="/opt"     -GNinja     -DCMAKE_C_COMPILER=clang     -DCMAKE_CXX_COMPILER=clang++     -DCMAKE_BUILD_TYPE=Release     -DCMAKE_EXE_LINKER_FLAGS=-static-libstdc++     -DLLVM_IS_SHARED=OFF     -DD_COMPILER_FLAGS=-link-defaultlib-shared=false     -DBUILD_SHARED_LIBS=BOTH     -DBUILD_LTO_LIBS=ON     && cmake --build build --parallel     && ninja -C build install:
5330.9 /ldc/runtime/druntime/src/core/sys/posix/sys/stat.d(704): Error: undefined identifier `__USE_FILE_OFFSET64`
5331.6 /ldc/runtime/druntime/src/core/sys/posix/sys/stat.d(678): Error: undefined identifier `__USE_FILE_OFFSET64`
5331.6 /ldc/runtime/druntime/src/core/sys/posix/sys/stat.d(693): Error: undefined identifier `__USE_FILE_OFFSET64`
5331.6 /ldc/runtime/druntime/src/core/sys/posix/sys/stat.d(704): Error: undefined identifier `__USE_FILE_OFFSET64`
kassane commented 3 months ago

Phobos issue on android/armv7?

2024-04-09T13:46:31.1706830Z std/file.d(4342): Error: no property `st_ino` for type `stat_t`, did you mean `core.sys.posix.sys.stat.stat_t.__st_ino`?
2024-04-09T13:46:31.1708631Z std/file.d(4342): Error: no property `st_ino` for type `stat_t`, did you mean `core.sys.posix.sys.stat.stat_t.__st_ino`?
kassane commented 3 months ago

That contribution has extended beyond my expectations. :sweat_smile:

adamdruppe commented 3 months ago

golly but thx for it

the windows build fail is spurious, don't worry about it. it just does that randomly