[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
parse errors BEFORE ; } AND <
From: |
pooja |
Subject: |
parse errors BEFORE ; } AND < |
Date: |
13 May 2005 04:00:52 -0700 |
User-agent: |
G2/0.2 |
hi
i m porting a softwarecode from vc++ to g++ / gcc
it has certain dependent programs header files n a main module. while
compiling the main module "rfc_croutinflowcontroller.cpp" im getting
errors in one of the header files included .the error is:
the code is:
********<FILE: CMETAINFOREADER.H>*******************************
#ifndef CMetaInfoReader_h
#define CMetaInfoReader_h 1
template <class super>
class CMetaInfoReader : public super{
public:
CMetaInfoReader(){}
void MyService()
{
if(m_pDataFile->isFileOpened()==ALREADY_EXISTS)
{
m_pStorageHeader=(CStorageHeader*)(m_pDataFile->getBaseAddress());
m_iShift=(char*)(m_pDataFile->getBaseAddress())-(char*)(m_pStorageHeader->get_m_pBaseAddress());
if(m_iShift)
{
// cout<<"\n********* this is the shift case********************";
m_pStorageHeader->relocate_Pointers(m_iShift);
// m_pStorageHeader
}
}
}
};
#endif
****************ENDOFFILE*****************************************************
the ERROR is : from rfc_croutingflowcontroller.cpp:22:
/usr/include/IDB/ICHOROUS/include/VMM/StorageManager/CMetaInfoReader.h:
In
member function `void CMetaInfoReader<super>::MyService()':
/usr/include/IDB/ICHOROUS/include/VMM/StorageManager/CMetaInfoReader.h:11:
parse
error before `;' token
can anybody point out where exactly the PARSE error is.we r compiling
using gcc .
IN HOPE OF A QUICK REPLY....
garima
- parse errors BEFORE ; } AND <,
pooja <=