aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/types.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-07-24 10:46:16 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-07-24 10:46:16 +0200
commit60c2438c4aec9b4bf1c64878534e83152ab7a88e (patch)
tree430a5152391969085f4cdc8c37db8a40b655d6e9 /build2/cc/types.hxx
parentb95ea0797359b19d2dc34612761d8e7b63d41e68 (diff)
Switch to new GCC module interface (-fmodule-mapper)
Diffstat (limited to 'build2/cc/types.hxx')
-rw-r--r--build2/cc/types.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/build2/cc/types.hxx b/build2/cc/types.hxx
index 6dc7632..d50c067 100644
--- a/build2/cc/types.hxx
+++ b/build2/cc/types.hxx
@@ -27,9 +27,9 @@ namespace build2
struct module_info
{
- string name; // Not empty if a module unit.
- bool iface; // True if a module interface unit.
- module_imports imports; // Imported modules.
+ string name; // Not empty if a module unit.
+ bool iface = false; // True if a module interface unit.
+ module_imports imports; // Imported modules.
};
enum class translation_type {plain, module_iface, module_impl};