Extend for C++20 with gcc10
Define bits/ranges_base.h as optional, it did not exist in the old version of the compiler. Add two more modules to solve merging issues with C++20.
This commit is contained in:
parent
7c492a17c9
commit
664f0837d4
@ -266,6 +266,11 @@ module "std" [system] {
|
||||
export *
|
||||
header "numeric"
|
||||
}
|
||||
module "optional" {
|
||||
requires cplusplus17
|
||||
export *
|
||||
header "optional"
|
||||
}
|
||||
module "ostream" {
|
||||
export *
|
||||
header "ostream"
|
||||
@ -486,6 +491,11 @@ module "std" [system] {
|
||||
export *
|
||||
header "bits/stl_tree.h"
|
||||
}
|
||||
module "bits/range_access.h" {
|
||||
export *
|
||||
export bits_stl_iterator_h
|
||||
header "bits/range_access.h"
|
||||
}
|
||||
module "bits/ranges_algo.h" {
|
||||
requires cplusplus20
|
||||
export *
|
||||
@ -499,7 +509,7 @@ module "std" [system] {
|
||||
export initializer_list
|
||||
header "bits/ranges_algobase.h"
|
||||
}
|
||||
explicit module "bits_ranges_base_h" {
|
||||
explicit module "bits_ranges_base_h" [optional] {
|
||||
requires cplusplus20
|
||||
export *
|
||||
export bits_stl_iterator_h
|
||||
|
Loading…
Reference in New Issue
Block a user