From 19d0eb2adcda31d9919bca8fef98cb1871b4ce54 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 14 Sep 2010 19:01:49 +0200 Subject: Add automake and VC++ builds (meta-build) --- cutl/compiler/context.hxx | 8 +++++--- cutl/compiler/type-id.hxx | 4 +++- cutl/compiler/type-info.hxx | 14 ++++++++------ 3 files changed, 16 insertions(+), 10 deletions(-) (limited to 'cutl/compiler') 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 #include +#include + 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 // std::type_info +#include + namespace cutl { namespace compiler { - class type_id + class LIBCUTL_EXPORT type_id { public: template 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 #include +#include + 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 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 @@ -93,7 +95,7 @@ namespace cutl type_info const& lookup (); - void + LIBCUTL_EXPORT void insert (type_info const&); namespace bits -- cgit v1.1