go to bug id or search bugs for
main/streams/cast.c line 32
The comment says "Under BSD, emulate fopencookie using funopen"
However under my gcywin both compiler options are set: HAVE_FUNOPEN and HAVE_FOPENCOOKIE. Of course compilation failes because of duplicate definitions.
Changing the preprocessor directive in line 33 solves the problem for me:
- #if HAVE_FUNOPEN
+ #if HAVE_FUNOPEN && !HAVE_FOPENCOOKIE
It compiles fine now and my scripts were successful. I did no "make test" to verify the change.
Add a Patch
Add a Pull Request
Automatic comment from SVN on behalf of jani
Log: - Fixed bug #50791 (Compile failure: Bad logic in defining fopencookie emulation)
Fixed properly now. (I hope :)
Automatic comment from SVN on behalf of pajoye
Log: - Fixed bug #50791 (Compile failure: Bad logic in defining fopencookie emulation