[LIP] parse error before `(' token

balaji krishnan <baa_krish-/[email protected]>
Newsgroups gmane.user-groups.linux.india.programmers
Message-ID <[email protected]>
Hi I am getting the above error when i try to compile.
The contents of the code

Database.h
#ifndef __Database__
#define __Database__

class Database {
        public:
                virtual short Login() = 0;
};

#endif


Main Portion of the Code

#include <iostream>
#include <string>
#include "./Database.h"
using namespace std;

int main()
{
        Database * lPtrDatabase =0 ;
        lPtrDatabase = new DatabaseOracle();
}

I am compiling using 

 gcc3 -fPIC -c ClsUConnect.cpp

Please help in solving this problem..
Thanks
bala


__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree


-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.