How to Fix Weird Build Failure with "-release" but OK with "-debug"?
Mathias LANG
geod24 at gmail.com
Wed Jul 21 04:52:44 UTC 2021
On Wednesday, 21 July 2021 at 03:25:03 UTC, apz28 wrote:
> with below error message:
> ..\..\pham\db\db_skdatabase.d(140): Error: null dereference in
> function
> _D4pham2db10fbdatabase7FbArray__T13readArrayImplTbZQsMFNfCQCeQCc8database12DbNameColumnZAb
> ..\..\pham\db\db_skdatabase.d(139): Error: null dereference in
> function
> _D4pham2db10fbdatabase7FbArray__T13readArrayImplTbZQsMFNfCQCeQCc8database12DbNameColumnZAb
> Error: null dereference in function
> _D4pham2db10fbdatabase7FbArray__T13readArrayImplTbZQsMFNfCQCeQCc8database12DbNameColumnZAb
> ..\..\pham\db\db_skdatabase.d(138): Error: null dereference in
> function
> _D4pham2db10fbdatabase7FbArray__T13readArrayImplTbZQsMFNfCQCeQCc8database12DbNameColumnZAb
It seems the compiler is doing extra analysis and seeing that a
null pointer is being dereferenced. Can you provide the code for
"pham\db\db_skdatabase.d" at L138 through 140 ?
More information about the Digitalmars-d-learn
mailing list