diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-14 19:01:49 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-14 19:01:49 +0200 |
commit | 19d0eb2adcda31d9919bca8fef98cb1871b4ce54 (patch) | |
tree | 2e37fd2a976d6ec1f5fa1c49da8c2e5a04dfa440 /cutl/compiler | |
parent | 6aeb2e06e9fa137a8e26f8605ec63f7567e65280 (diff) |
Add automake and VC++ builds (meta-build)
Diffstat (limited to 'cutl/compiler')
-rw-r--r-- | cutl/compiler/context.hxx | 8 | ||||
-rw-r--r-- | cutl/compiler/type-id.hxx | 4 | ||||
-rw-r--r-- | cutl/compiler/type-info.hxx | 14 |
3 files changed, 16 insertions, 10 deletions
diff --git a/cutl/compiler/context.hxx b/cutl/compiler/context.hxx index 32f301f..f5d2c6d 100644 --- a/cutl/compiler/context.hxx +++ b/cutl/compiler/context.hxx @@ -13,15 +13,17 @@ #include <cutl/exception.hxx> #include <cutl/container/any.hxx> +#include <cutl/details/export.hxx> + namespace cutl { namespace compiler { - class context + class LIBCUTL_EXPORT context { public: - struct no_entry: exception {}; - struct typing: exception {}; + struct LIBCUTL_EXPORT no_entry: exception {}; + struct LIBCUTL_EXPORT typing: exception {}; public: context () {} diff --git a/cutl/compiler/type-id.hxx b/cutl/compiler/type-id.hxx index 099da6d..87ffad4 100644 --- a/cutl/compiler/type-id.hxx +++ b/cutl/compiler/type-id.hxx @@ -8,11 +8,13 @@ #include <typeinfo> // std::type_info +#include <cutl/details/export.hxx> + namespace cutl { namespace compiler { - class type_id + class LIBCUTL_EXPORT type_id { public: template<typename X> diff --git a/cutl/compiler/type-info.hxx b/cutl/compiler/type-info.hxx index b005ec4..b69451c 100644 --- a/cutl/compiler/type-info.hxx +++ b/cutl/compiler/type-info.hxx @@ -14,6 +14,8 @@ #include <cutl/static-ptr.hxx> #include <cutl/compiler/type-id.hxx> +#include <cutl/details/export.hxx> + namespace cutl { namespace compiler @@ -26,7 +28,7 @@ namespace cutl // // - class base_info + class LIBCUTL_EXPORT base_info { public: base_info (type_id const&); @@ -45,7 +47,7 @@ namespace cutl // // - class type_info + class LIBCUTL_EXPORT type_info { typedef std::vector<base_info> bases; @@ -77,12 +79,12 @@ namespace cutl // // - class no_type_info: exception {}; + class LIBCUTL_EXPORT no_type_info: exception {}; - type_info const& + LIBCUTL_EXPORT type_info const& lookup (type_id const&); - type_info const& + LIBCUTL_EXPORT type_info const& lookup (std::type_info const&); template <typename X> @@ -93,7 +95,7 @@ namespace cutl type_info const& lookup (); - void + LIBCUTL_EXPORT void insert (type_info const&); namespace bits |