search for: init_once_static_init

Displaying 1 result from an estimated 1 matches for "init_once_static_init".

2014 Oct 05
2
Using Rtools with gcc 4.8.3
I started working on some R bindings for mongo-c-driver [1]. The C library compiles fine on Ubuntu Trusty (gcc 4.8.2) and osx (clang), however on my windows machine (gcc 4.6.3 from Rtools 3.1) it fails with: 'INIT_ONCE_STATIC_INIT' undeclared. Google suggests that this might be a problem in older versions of mingw-w64. So I grabbed a copy of mingw-w64 version 4.8.3 and indeed, here the library compiles without errors. Now I am unsure how to make mingw 4.8.3 work with Rtools. I extracted the contents of [2] into "C:...