Closed andry81 closed 1 day ago
Have you tried defining _GNU_SOURCE
?
Have you tried defining
_GNU_SOURCE
?
I don't build specifically this library, I just wanted to build the boost library as a whole. And I think it's should be built without errors by default without any macroses for a specific library, so I reported the issue.
Have you tried defining
_GNU_SOURCE
?
I had the same problem. I did tried with -D_GNU_SOURCE=1 it did worked. But what could be the root cause of this _GNU_SOURCE is not enabled ?
May be Cygwin support can be added to stacktrace lib itself. Thanks.
backtrace.cpp
defines _GNU_SOURCE
:
but windbg.cpp
and windbg_cached.cpp
do not. It's possible to define this from the outside, e.g. in the build system, but it would probably be more consistent to define it in the source files, at least when __CYGWIN__
is defined, to match what backtrace.cpp
does.
Defined _GNU_SOURCE unconditionally. Looks like the same issue was on MacOS platform.
Boost:
1.72.0
OS:Windows 7 x64
,cygwin dll 3.1.2
Compiler:cygwin/gcc 7.4.0
All other libraries builds without errors.