ldc-developers/ldc — Issue #54: Error: invalid cast from 'typeof(null)' to 'void*'
Author: dsimcha
Created: 2011-12-18 16:26:35+00:00
State: open

I receive the following error message in the middle of compiling a large library:

Error: invalid cast from 'typeof(null)' to 'void*'

The line number reported by LDC is probably wrong, because there's nothing on that line that seems relevant. Therefore, I've got DustMite churning away on this one, but I decided to file the bug report before I had fully reduced it because it seems like the kind of thing where the fix might be obvious to someone who knows the implementation details of the compiler even w/o a test case.