Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Breaking lines in Pro*C programs - Linux env RH AS 3.0 Oracle 9.2.4.0

Re: Breaking lines in Pro*C programs - Linux env RH AS 3.0 Oracle 9.2.4.0

From: Andy Hassall <andy_at_andyh.co.uk>
Date: Fri, 22 Sep 2006 00:01:05 +0100
Message-ID: <os56h2dlut2too4n87hk05aolu74bq0q5m@4ax.com>


On 21 Sep 2006 08:44:23 -0700, raphael.duenas_at_agfa.com wrote:

>it's the first i try to compile pro*C programs with an Linux
>environment (Red hat AS 3.0), and my problem is the following :
>
>Error at line 357, column 1 in file myfile.sqlc
> c_uf number(10) not null,\
>1
>PCC-S-02021, Found newline while scanning string literal
>Syntax error at line 357, column 33, file Dgenauto.sqlc:
>Error at line 357, column 33 in file myfile.sqlc
> c_uf number(10) not null,\
>................................1
>PCC-S-02014, Encountered the symbol "\" when expecting one of the
>following:
>
>I've tried without "\" it's the same thing ?!?!

 Multi-line string literals are not a part of standard C, so the Pro*C precompiler is pretty much within its rights to object to them.

-- 
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Received on Thu Sep 21 2006 - 18:01:05 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US