home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.databases.oracle      Overblown overpriced overengineered SHIT      2,288 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 1,157 of 2,288   
   John Harrison to geek04@hotmail.com   
   Re: vc++ error while compiling pro*c pre   
   28 Feb 04 16:06:12   
   
   XPost: comp.lang.c++   
   From: john_andronicus@hotmail.com   
      
   "geek04"  wrote in message   
   news:c6a9aedf.0402280733.225ac82b@posting.google.com...   
   > 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   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca