473,396 Members | 1,895 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

vc++ error while compiling pro*c precompiled code

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:\CODE\VariableRating.cpp(712) : error C2146: syntax error : missing
';' before identifier 'SQL'
E:\CODE\VariableRating.cpp(712) : error C2501: 'EXEC' : missing
storage-class or type specifiers
E:\CODE\VariableRating.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
Jul 19 '05 #1
1 2746

"geek04" <ge****@hotmail.com> wrote in message
news:c6**************************@posting.google.c om...
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:\CODE\VariableRating.cpp(712) : error C2146: syntax error : missing
';' before identifier 'SQL'
E:\CODE\VariableRating.cpp(712) : error C2501: 'EXEC' : missing
storage-class or type specifiers
E:\CODE\VariableRating.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
Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: geek04 | last post by:
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...
8
by: Edward Diener | last post by:
If I try to reference System::Windows::Forms::KeyEventArgs in a header file I get the error: MyHeader.h(236) : error C2039: 'Windows' : is not a member of 'System' Any ideas why this is...
2
by: Bob Rock | last post by:
Hello, is there a way to export the makefile a given project (or solution) is using to build that project (or solution)???? Compiling and linking from command line I don't seem to be able to...
2
by: Darren Martz | last post by:
Compiler: msvc 7.1 AppType: console OS: WinXP Pro I now get this "Internal Compiler Error mscl.cpp line 2701" message when I build a specific project and cannot figure out why. It was...
1
by: Cynthia | last post by:
Hi, I have a C++ source file (mymessage.cpp), it is used by two different platforms. PC and VxWorks. The file has a header section to include header files depending on which platform it is...
26
by: _R | last post by:
Given that VS2005 has made an effort to clean up the syntax of VC++ (in C++/CLI), is there any future plans to do away with function protos, ala C#/VB? What are they needed for these days?
0
by: rgettman | last post by:
Hello, I'm attempting to use Pro*C to create a nested table and send that data to a stored procedure as a parameter. However, I'm getting a Pro*C compiler error that I'll describe below. I'm...
3
by: =?Utf-8?B?RGF2ZS1I?= | last post by:
error PRJ0006 : Could not open the temporary file 'c:\Project\CompressMorphis\Release\RSP00000133601984.rsp'. Make sure the file exists and that the directory is not write-protected....
11
by: gumboots | last post by:
Hi there guys, I've recently purchased "Sam's Teach Yourself C++ Fifth Edition" (About a week before the 6th edition came out) I'm trying to work through the book, but in trying to compile Hello...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.