aboutsummaryrefslogtreecommitdiff
path: root/cutl/compiler
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-11-15 15:00:04 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-11-15 15:00:04 +0200
commite8a09d9833d67a40c43e4de1d578551cc9020cb7 (patch)
tree0d4f2f7208dc432aad5ad3d4f132c80e0d63e534 /cutl/compiler
parent44fde85b2496750b78939247d1d19a67c5b3dc71 (diff)
Various MSVC and C++11 fixes
Diffstat (limited to 'cutl/compiler')
-rw-r--r--cutl/compiler/code-stream.txx3
-rw-r--r--cutl/compiler/cxx-indenter.cxx4
2 files changed, 3 insertions, 4 deletions
diff --git a/cutl/compiler/code-stream.txx b/cutl/compiler/code-stream.txx
index 4b26f24..ff7b96d 100644
--- a/cutl/compiler/code-stream.txx
+++ b/cutl/compiler/code-stream.txx
@@ -77,7 +77,7 @@ namespace cutl
template <template <typename> class S, typename C>
ostream_filter<S, C>::
- ~ostream_filter () /*noexcept (false)*/
+ ~ostream_filter ()
{
try
{
@@ -86,7 +86,6 @@ namespace cutl
catch (...)
{
os_.rdbuf (prev_);
- throw;
}
os_.rdbuf (prev_);
diff --git a/cutl/compiler/cxx-indenter.cxx b/cutl/compiler/cxx-indenter.cxx
index dba9f09..3d5ee71 100644
--- a/cutl/compiler/cxx-indenter.cxx
+++ b/cutl/compiler/cxx-indenter.cxx
@@ -9,7 +9,7 @@ namespace cutl
namespace compiler
{
template<>
- char const* cxx_indenter<char>::
+ LIBCUTL_EXPORT char const* cxx_indenter<char>::
keyword (cxx_indenter<char>::keyword_type t)
{
static char const* keywords[] =
@@ -28,7 +28,7 @@ namespace cutl
}
template<>
- wchar_t const* cxx_indenter<wchar_t>::
+ LIBCUTL_EXPORT wchar_t const* cxx_indenter<wchar_t>::
keyword (cxx_indenter<wchar_t>::keyword_type t)
{
static wchar_t const* keywords[] =