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: <raphael.duenas_at_agfa.com>
Date: 22 Sep 2006 01:20:05 -0700
Message-ID: <1158913205.115547.248590@h48g2000cwc.googlegroups.com>


Hi,

I use this type of syntax in more than 150 programs, and I can compile these with Pro*C compilers on HPUX , AIX, DGUX, Oracle 8i and 9 ... so I think that something changed with my Red Hat/Oracle 9 , a parameter of Pro*C perhap's ?

Thank you for your help.

Andy Hassall a écrit :

> 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 Fri Sep 22 2006 - 03:20:05 CDT

Original text of this message

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