History log of /freebsd-12.1/contrib/libc++/include/__std_stream (Results 1 – 1 of 1)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0, release/10.4.0, release/11.1.0, release/11.0.1, release/11.0.0, release/10.3.0
# fe9390e7 09-Oct-2015 Dimitry Andric <[email protected]>

Pull in r242623 from upstream libc++ trunk (by Eric Fiselier):

Enable and fix warnings during the build.

Although CMake adds warning flags, they are ignored in the libc++ headers
because the

Pull in r242623 from upstream libc++ trunk (by Eric Fiselier):

Enable and fix warnings during the build.

Although CMake adds warning flags, they are ignored in the libc++ headers
because the headers '#pragma system header' themselves.

This patch disables the system header pragma when building libc++ and fixes
the warnings that arose.

The warnings fixed were:
1. <memory> - anonymous structs are a GNU extension
2. <functional> - anonymous structs are a GNU extension.
3. <__hash_table> - Embedded preprocessor directives have undefined behavior.
4. <string> - Definition is missing noexcept from declaration.
5. <__std_stream> - Unused variable.

This should fix building world (in particular libatf-c++) with -std=c++11.

Reported by: Oliver Hartmann <[email protected]>

show more ...