Brecht Sanders
Brecht Sanders
`./configure` for gcc-12-20220213 returns: `configure: error: GDC is required to build d`
gcc-11.2.0 fails with: `libphobos\libdruntime\gcc\gthread.d:42:30: error: undefined identifier 'PTHREAD_ONCE_INIT'`
gcc-11-20220212 also fails with: `libphobos\libdruntime\gcc\gthread.d:42:30: error: undefined identifier 'PTHREAD_ONCE_INIT'`
Any chance bootstrapping with dmd instead of gdc will work?
It's probably related to my use of `--enable-threads=posix` which triggers issues in `libphobos/libdruntime/gcc/gthread.d` for this threading model on Windows. `PTHREAD_ONCE_INIT` and `pthread_key_t` do exist in MinGW-w64's `pthread.h`. How can you...
I filed a bug report with GCC: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104654
Using Win32 instead of Posix threads for D in x86_64-w64-mingw32/libphobos/libdruntime/gcc/config.d allowed the build to continue. I had one more issue (which I reported here https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104659) and then compilation with D...
I also tried forcing `enum ThreadModel GNU_Thread_Model = ThreadModel.Win32;` in `libphobos/libdruntime/gcc/config.d.in` but the result can't build a simple "hello world" because of errors like `undefined reference to '__gthr_win32_key_create'`. But I...
Hi, Thanks for your example. I am aware the library doesn't actually detect the type of data at this time. That is why the C library has functions like xlsxioread_sheet_next_cell_datetime()...
What's the error? Any chance you can debug?