Add GCC 11 support (#888)

* Add GCC 11 support

Some C++ Standard Library headers have been changed to no longer include other headers that they do need to depend on. As such, C++ programs that used standard library components without including the right headers will no longer compile.
The following headers are used less widely in libstdc++ and may need to be included explicitly when compiled with GCC 11:

<limits> (for std::numeric_limits)
<memory> (for std::unique_ptr, std::shared_ptr etc.)
<utility> (for std::pair, std::tuple_size, std::index_sequence etc.)
<thread> (for members of namespace std::this_thread.)

Co-authored-by: Roman Grundkiewicz <rgrundkiewicz@gmail.com>
This commit is contained in:
Nikolay Bogoychev 2021-11-23 10:13:29 +00:00 committed by GitHub
parent 1adf80b7c9
commit ab6b826083
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View File

@ -28,10 +28,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Add unit tests for binary files.
- Fix compilation with OMP
- Compute aligned memory sizes using exact sizing
- Support for loading lexical shortlist from a binary blob
- Support for loading lexical shortlist from a binary blob
- Integrate a shortlist converter (which can convert a text lexical shortlist to a binary shortlist) into marian-conv with --shortlist option
### Fixed
- Add GCC11 support into FBGEMM
- Added pragma to ignore unused-private-field error on elementType_ on macOS
- Do not set guided alignments for case augmented data if vocab is not factored
- Various fixes to enable LSH in Quicksand

View File

@ -1,2 +1,2 @@
v1.10.24
v1.10.25

@ -1 +1 @@
Subproject commit c258054a87b7c9020014558bd81819b3f7104cc0
Subproject commit 6f45243cb8ab7d7ab921af18d313ae97144618b8