Building derelict

David Nadlinger code at klickverbot.at
Tue Oct 22 16:46:01 PDT 2013


On Tuesday, 22 October 2013 at 22:24:36 UTC, bioinfornatics wrote:
> derelict/pq/types.d(117): Error: struct 
> derelict.pq.types.PGconn unknown size
> derelict/pq/types.d(117): Error: struct 
> derelict.pq.types.PGconn no size yet for forward reference

That's with LDC, right?

We definitely need to improve the error message (it should refer 
to the actual function definition), but I checked the Derelict 
source a few weeks back and if you grep it for PGconn, you'll 
find that it is used in a function parameter (for which the 
actual type is needed for the x86-64 ABI handling code).

If you don't need that function, just comment it out.

David


More information about the Digitalmars-d-learn mailing list