C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

vc++ error while compiling pro*c precompiled code

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++)
View previous topic :: View next topic  
Author Message
geek04
Guest





PostPosted: Sat Feb 28, 2004 3:33 pm    Post subject: vc++ error while compiling pro*c precompiled code Reply with quote



i'm using pro*c to precompile my c++ code which accesses oracle 9i
database, i'm running a oracle 9i client on my system

on compiling the c++ file (generated by pro*c)i'm getting following
errors:

E:CODEVariableRating.cpp(712) : error C2146: syntax error : missing
';' before identifier 'SQL'
E:CODEVariableRating.cpp(712) : error C2501: 'EXEC' : missing
storage-class or type specifiers
E:CODEVariableRating.cpp(712) : fatal error C1004: unexpected end of
file found

all these errors point on the first line containing the 'EXEC'
statement (any 'EXEC' statement 'INCLUDE' or 'BEGIN DECLARE SECTION')
in the file

plz help

thanx in advance

harsh
Back to top
John Harrison
Guest





PostPosted: Sat Feb 28, 2004 4:06 pm    Post subject: Re: vc++ error while compiling pro*c precompiled code Reply with quote




"geek04" <geek04 (AT) hotmail (DOT) com> wrote

Quote:
i'm using pro*c to precompile my c++ code which accesses oracle 9i
database, i'm running a oracle 9i client on my system

on compiling the c++ file (generated by pro*c)i'm getting following
errors:

E:CODEVariableRating.cpp(712) : error C2146: syntax error : missing
';' before identifier 'SQL'
E:CODEVariableRating.cpp(712) : error C2501: 'EXEC' : missing
storage-class or type specifiers
E:CODEVariableRating.cpp(712) : fatal error C1004: unexpected end of
file found

all these errors point on the first line containing the 'EXEC'
statement (any 'EXEC' statement 'INCLUDE' or 'BEGIN DECLARE SECTION')
in the file

plz help


I'd love to help but without seeing a single line of code its very hard.

Since you have at least 712 lines of code I suggest you do some work
reducing the size of the code and then post the reduced code here, quote the
error messages and highlight which lines they apply to.

john



Back to top
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.