lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lmi] reusing mc_enum<> for serialization into XML


From: Vaclav Slavik
Subject: Re: [lmi] reusing mc_enum<> for serialization into XML
Date: Thu, 25 Feb 2010 17:41:16 +0100

On Wed, 2010-02-24 at 19:18 +0000, Greg Chicares wrote:
> http://svn.savannah.gnu.org/viewvc?view=rev&root=lmi&revision=4776

Please apply this patch:

--- mc_enum_types.cpp    (revision 4777)
+++ mc_enum_types.cpp        (working copy)
@@ -27,6 +27,7 @@
 #endif // __BORLANDC__
 
 #include "mc_enum.hpp"
+#include "mc_enum.tpp"
 #include "mc_enum_type_enums.hpp" // Plain enums.
 
 // Here write illustrative examples and anything that doesn't follow
@@ -142,6 +143,5 @@ MC_DEFINE(report_column)
 // time: this is the motivation for keeping class template mc_enum
 // and its metadata physically separate.
 
-#include "mc_enum.tpp"
 #include "mc_enum_types.hpp"


Without it, there are unresolved symbols for every method of every
mc_enum<T> specialization from this file when linking under Linux
(tested with g++ 4.2 and 4.4).

Thanks,
Vaclav





reply via email to

[Prev in Thread] Current Thread [Next in Thread]