Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
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
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 toolReceived on Thu Sep 21 2006 - 18:01:05 CDT
![]() |
![]() |