[Poppler-bugs] [Bug 97915] g++ 5.4.0 cannot compile poppler (due to C++11 option)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Sep 25 12:07:19 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=97915

--- Comment #4 from Adrian Johnson <ajohnson at redneon.com> ---
I got gfile.cc to compile on cygwin by adding #define _BSD_SOURCE to the file.
Although I read somewhere that _BSD_SOURCE has been replaced by
_DEFAULT_SOURCE. We may need to add something to configure.ac and cmake to set
the feature macro based on the compiler version.

The problem with using -std-gnu++11 is we don't want to allow gnu features that
are incompatible with Visual C++.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20160925/a6bfcc28/attachment.html>


More information about the Poppler-bugs mailing list