Closed lenoil98 closed 5 months ago
what compiler version do you have? i tested on freebsd like a year ago and it worked then but maybe things changed
I'm using LDC 1.32.0
ok i see it there too. there seems to have been a new argument added since i last tried it, it says it is new to freebsd 12. i could swear i tested 13 but maybe i built against the old thing (i was using dmd for those tests, not ldc, so probably older version packaged anyway)
regardless it looks optional, i can zero it out then try it again
give master a try i think that commit will fix it
Yep, that fixed the initial errors.
However, I found minor errors in pcx.d and targa.d. In pcx.d line 406 and targa.d line 558, replace "isLittleEndianness" with "isBigEndianness".
Issue solved.
The below error occurs:
arsd-official:core 11.4.2: building configuration "library"... .dub/packages/arsd-official-11.4.2/arsd-official/core.d(4212,10): Error: function
core.sys.freebsd.sys.event.EV_SET(kevent_t* kevp, ulong, short, ushort, uint, long, void*, ulong[4])
is not callable using argument types(kevent_t*, int, int, int, int, int, void*)
.dub/packages/arsd-official-11.4.2/arsd-official/core.d(4212,10): too few arguments, expected 8, got 7 .dub/packages/arsd-official-11.4.2/arsd-official/core.d(4916,10): Error: functioncore.sys.freebsd.sys.event.EV_SET(kevent_t* kevp, ulong, short, ushort, uint, long, void*, ulong[4])
is not callable using argument types(kevent_t*, int, int, int, int, int, void*)
.dub/packages/arsd-official-11.4.2/arsd-official/core.d(4916,10): too few arguments, expected 8, got 7 .dub/packages/arsd-official-11.4.2/arsd-official/core.d(4926,10): Error: functioncore.sys.freebsd.sys.event.EV_SET(kevent_t* kevp, ulong, short, ushort, uint, long, void*, ulong[4])
is not callable using argument types(kevent_t*, int, int, int, int, int, void*)
.dub/packages/arsd-official-11.4.2/arsd-official/core.d(4926,10): too few arguments, expected 8, got 7 .dub/packages/arsd-official-11.4.2/arsd-official/core.d(4936,10): Error: functioncore.sys.freebsd.sys.event.EV_SET(kevent_t* kevp, ulong, short, ushort, uint, long, void*, ulong[4])
is not callable using argument types(kevent_t*, int, int, int, int, int, void*)
.dub/packages/arsd-official-11.4.2/arsd-official/core.d(4936,10): too few arguments, expected 8, got 7 .dub/packages/arsd-official-11.4.2/arsd-official/core.d(4971,10): Error: functioncore.sys.freebsd.sys.event.EV_SET(kevent_t* kevp, ulong, short, ushort, uint, long, void*, ulong[4])
is not callable using argument types(kevent_t*, int, int, int, int, int, typeof(null))
.dub/packages/arsd-official-11.4.2/arsd-official/core.d(4971,10): too few arguments, expected 8, got 7 .dub/packages/arsd-official-11.4.2/arsd-official/core.d(4973,10): Error: functioncore.sys.freebsd.sys.event.EV_SET(kevent_t* kevp, ulong, short, ushort, uint, long, void*, ulong[4])
is not callable using argument types(kevent_t*, int, int, int, int, int, typeof(null))
.dub/packages/arsd-official-11.4.2/arsd-official/core.d(4973,10): too few arguments, expected 8, got 7 .dub/packages/arsd-official-11.4.2/arsd-official/core.d(4977,10): Error: functioncore.sys.freebsd.sys.event.EV_SET(kevent_t* kevp, ulong, short, ushort, uint, long, void*, ulong[4])
is not callable using argument types(kevent_t*, int, int, int, int, int, void*)
.dub/packages/arsd-official-11.4.2/arsd-official/core.d(4977,10): too few arguments, expected 8, got 7 /usr/local/bin/ldc2 failed with exit code 1.