[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[certi-cvs] applications/HLA_TestsSuite create_destroy.cc c...
From: |
certi-cvs |
Subject: |
[certi-cvs] applications/HLA_TestsSuite create_destroy.cc c... |
Date: |
Sat, 28 Jun 2008 17:12:53 +0000 |
CVSROOT: /sources/certi
Module name: applications
Changes by: Petr Gotthard <gotthardp> 08/06/28 17:12:53
Modified files:
HLA_TestsSuite : create_destroy.cc create_destroy.hh
test_HugeAVPV.cc test_Sync.cc
Log message:
Bug #23724 fixed: Compilation errors on Fedora 9
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/applications/HLA_TestsSuite/create_destroy.cc?cvsroot=certi&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/applications/HLA_TestsSuite/create_destroy.hh?cvsroot=certi&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/applications/HLA_TestsSuite/test_HugeAVPV.cc?cvsroot=certi&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/applications/HLA_TestsSuite/test_Sync.cc?cvsroot=certi&r1=1.1&r2=1.2
Patches:
Index: create_destroy.cc
===================================================================
RCS file: /sources/certi/applications/HLA_TestsSuite/create_destroy.cc,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- create_destroy.cc 15 May 2008 14:58:52 -0000 1.7
+++ create_destroy.cc 28 Jun 2008 17:12:53 -0000 1.8
@@ -1,4 +1,5 @@
#include "create_destroy.hh"
+#include <stdlib.h>
class Create_Destroy : public RTI::RTIambassador, public NullFederateAmbassador
{
@@ -683,7 +684,7 @@
}
//---------------------------- say_Y_N ----------------------------------------
-char say_Y_N(char *question,int pas)
+char say_Y_N(const char *question,int pas)
// Write question to user
// User has to answer y or n which is returned as one char
{
Index: create_destroy.hh
===================================================================
RCS file: /sources/certi/applications/HLA_TestsSuite/create_destroy.hh,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- create_destroy.hh 15 May 2008 14:58:52 -0000 1.2
+++ create_destroy.hh 28 Jun 2008 17:12:53 -0000 1.3
@@ -3,10 +3,11 @@
#include <NullFederateAmbassador.hh>
#include <iostream>
+#include <memory>
#define NBCAR 300
-char say_Y_N(char *question,int pas=0);
+char say_Y_N(const char *question,int pas=0);
bool joinFedExec(char *federate,char *federationName);
void changingNames(char *federationname,char *fedfilename);
bool creeFedExec(char *federationName, char *fileName);
Index: test_HugeAVPV.cc
===================================================================
RCS file: /sources/certi/applications/HLA_TestsSuite/test_HugeAVPV.cc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- test_HugeAVPV.cc 3 May 2008 16:17:25 -0000 1.1
+++ test_HugeAVPV.cc 28 Jun 2008 17:12:53 -0000 1.2
@@ -6,6 +6,7 @@
#include <sstream>
#include <memory>
#include <string>
+#include <stdlib.h>
using std::string;
using std::cout;
Index: test_Sync.cc
===================================================================
RCS file: /sources/certi/applications/HLA_TestsSuite/test_Sync.cc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- test_Sync.cc 5 May 2008 10:56:41 -0000 1.1
+++ test_Sync.cc 28 Jun 2008 17:12:53 -0000 1.2
@@ -6,6 +6,7 @@
#include <sstream>
#include <memory>
#include <string>
+#include <stdlib.h>
using std::string;
using std::cout;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [certi-cvs] applications/HLA_TestsSuite create_destroy.cc c...,
certi-cvs <=