public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: BIONDI Philippe <Philippe.BIONDI@enst-bretagne.fr>
To: Stephen Frost <sfrost@mail.snowman.net>
Cc: BIONDI Philippe <Philippe.BIONDI@enst-bretagne.fr>, gcc-help@gcc.gnu.org
Subject: Re: line size on C sources files
Date: Tue, 28 Mar 2000 06:34:00 -0000	[thread overview]
Message-ID: <Pine.SOL.4.10.10003281628120.16843-100000@ossian.enst-bretagne.fr> (raw)
In-Reply-To: <Pine.LNX.4.05.10003281345110.5831-100000@ns.snowman.net>

> > What about me wanting to expand macros before using esqlc (to use some
> > macros in EXEC SQL sections) ? I don't control the size of my
> > auto-generated C-SQL code. The question is : is this C-SQL code valid ? 
> > You and I think it is. The answer of the support is "put backslashes".
> 
> 	Hmm, well, what is true for C may or may not be exactly true for
> SQL.  It may be that SQL has some silly limit on the number of characters
> a SQL command can be on a single line.  If that is the case, then I see
> little to do about it but to just use the backslashes.

That is not a sufficient reason to trunc my C lines. I don't mind about
the sql ones (in which TAILLE_TAMPON becomes 25) but about C lines in
which errno becomes longer stuff, or CELL_VALUE(x,y) which expands to 
lines that break the 255 limit.

If the C code is correct, the esqlc is broken, and the solution of the
support is not a solution.

--
Philippe Biondi
Systems administrator
Webmotion Inc.
http://www.webmotion.com
mailto:philippe.biondi@webmotion.com
Fax. (613) 260-9545

WARNING: multiple messages have this Message-ID
From: BIONDI Philippe <Philippe.BIONDI@enst-bretagne.fr>
To: Stephen Frost <sfrost@mail.snowman.net>
Cc: BIONDI Philippe <Philippe.BIONDI@enst-bretagne.fr>, gcc-help@gcc.gnu.org
Subject: Re: line size on C sources files
Date: Sat, 01 Apr 2000 00:00:00 -0000	[thread overview]
Message-ID: <Pine.SOL.4.10.10003281628120.16843-100000@ossian.enst-bretagne.fr> (raw)
Message-ID: <20000401000000.v-faNKrGzP9sYt3h6GeLZU_Cm4IguwTOI1dkJxKhw_Y@z> (raw)
In-Reply-To: <Pine.LNX.4.05.10003281345110.5831-100000@ns.snowman.net>

> > What about me wanting to expand macros before using esqlc (to use some
> > macros in EXEC SQL sections) ? I don't control the size of my
> > auto-generated C-SQL code. The question is : is this C-SQL code valid ? 
> > You and I think it is. The answer of the support is "put backslashes".
> 
> 	Hmm, well, what is true for C may or may not be exactly true for
> SQL.  It may be that SQL has some silly limit on the number of characters
> a SQL command can be on a single line.  If that is the case, then I see
> little to do about it but to just use the backslashes.

That is not a sufficient reason to trunc my C lines. I don't mind about
the sql ones (in which TAILLE_TAMPON becomes 25) but about C lines in
which errno becomes longer stuff, or CELL_VALUE(x,y) which expands to 
lines that break the 255 limit.

If the C code is correct, the esqlc is broken, and the solution of the
support is not a solution.

--
Philippe Biondi
Systems administrator
Webmotion Inc.
http://www.webmotion.com
mailto:philippe.biondi@webmotion.com
Fax. (613) 260-9545

  reply	other threads:[~2000-03-28  6:34 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-28  5:19 BIONDI Philippe
2000-03-28  5:25 ` Stephen Frost
2000-03-28  5:36   ` BIONDI Philippe
2000-03-28  5:41     ` Stephen Frost
2000-03-28  6:34       ` BIONDI Philippe [this message]
2000-04-01  0:00         ` BIONDI Philippe
2000-04-01  0:00       ` Stephen Frost
2000-04-01  0:00     ` BIONDI Philippe
2000-04-01  0:00   ` Stephen Frost
2000-03-28 15:14 ` Martin v. Loewis
2000-03-28 21:16   ` Bill C Riemers
2000-04-01  0:00     ` Bill C Riemers
2000-04-01  0:00   ` Martin v. Loewis
2000-04-01  0:00 ` BIONDI Philippe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.SOL.4.10.10003281628120.16843-100000@ossian.enst-bretagne.fr \
    --to=philippe.biondi@enst-bretagne.fr \
    --cc=gcc-help@gcc.gnu.org \
    --cc=sfrost@mail.snowman.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).