certi-cvs
[Top][All Lists]
Advanced

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

[certi-cvs] certi/libHLA HLAbasicType.hh HLAtypesIEEE1516.hh


From: CERTI CVS commits
Subject: [certi-cvs] certi/libHLA HLAbasicType.hh HLAtypesIEEE1516.hh
Date: Tue, 05 Jun 2012 15:33:18 +0000

CVSROOT:        /sources/certi
Module name:    certi
Changes by:     Eric NOULARD <erk>      12/06/05 15:33:18

Modified files:
        libHLA         : HLAbasicType.hh HLAtypesIEEE1516.hh 

Log message:
        Fix compilation error with clang

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/libHLA/HLAbasicType.hh?cvsroot=certi&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/certi/libHLA/HLAtypesIEEE1516.hh?cvsroot=certi&r1=1.5&r2=1.6

Patches:
Index: HLAbasicType.hh
===================================================================
RCS file: /sources/certi/certi/libHLA/HLAbasicType.hh,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- HLAbasicType.hh     14 Mar 2010 17:35:20 -0000      1.7
+++ HLAbasicType.hh     5 Jun 2012 15:33:18 -0000       1.8
@@ -11,7 +11,7 @@
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 // Lesser General Public License for more details.
 //
-// $Id: HLAbasicType.hh,v 1.7 2010/03/14 17:35:20 gotthardp Exp $
+// $Id: HLAbasicType.hh,v 1.8 2012/06/05 15:33:18 erk Exp $
 // ----------------------------------------------------------------------------
 
 #ifndef _HLATYPES_BASICTYPE_HH
@@ -140,7 +140,7 @@
 };
 
 // HLA basic type, represented by <T> type stored in <S> using <E> encoding.
-template<class T, class S, template<class T>class E>
+template<class T, class S, template<class W>class E>
 struct HLAbasicType
 {
     HLAbasicType& operator = (const T& data)
@@ -178,7 +178,7 @@
     static const bool m_isVariable = false;
 };
 
-template<class T, class S, template<class T>class E>
+template<class T, class S, template<class W>class E>
 std::ostream& PrintBuffer(std::ostream& stream, HLAbasicType<T,S,E>& buffer)
 { return __print_buffer(stream, (void*)&buffer, buffer.__sizeof()); }
 
@@ -218,5 +218,5 @@
 
 #endif // _HLATYPES_BASICTYPE_HH
 
-// $Id: HLAbasicType.hh,v 1.7 2010/03/14 17:35:20 gotthardp Exp $
+// $Id: HLAbasicType.hh,v 1.8 2012/06/05 15:33:18 erk Exp $
 

Index: HLAtypesIEEE1516.hh
===================================================================
RCS file: /sources/certi/certi/libHLA/HLAtypesIEEE1516.hh,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- HLAtypesIEEE1516.hh 24 Jun 2009 12:33:31 -0000      1.5
+++ HLAtypesIEEE1516.hh 5 Jun 2012 15:33:18 -0000       1.6
@@ -11,7 +11,7 @@
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 // Lesser General Public License for more details.
 //
-// $Id: HLAtypesIEEE1516.hh,v 1.5 2009/06/24 12:33:31 gotthardp Exp $
+// $Id: HLAtypesIEEE1516.hh,v 1.6 2012/06/05 15:33:18 erk Exp $
 // ----------------------------------------------------------------------------
 
 #ifndef _HLATYPES_IEEE1516_HH
@@ -47,6 +47,7 @@
  */
 
 #include <HLAbuffer.hh>
+#include <cstring>
 
 namespace libhla {
 
@@ -120,5 +121,5 @@
 
 #endif // _HLATYPES_IEEE1516_HH
 
-// $Id: HLAtypesIEEE1516.hh,v 1.5 2009/06/24 12:33:31 gotthardp Exp $
+// $Id: HLAtypesIEEE1516.hh,v 1.6 2012/06/05 15:33:18 erk Exp $
 



reply via email to

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