Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 May 2004 15:00:43 -0400 (EDT)
From:      Incoming Mail List <mailist@whoweb.com>
To:        freebsd-questions@freebsd.org
Subject:   c compiler
Message-ID:  <200405201900.i4KJ0h5P046853@whoweb.com>

next in thread | raw e-mail | index | archive | help

I'm looking for some quick help with the 5.2.1 C compiler.  In FBSD 4.x
I could write multi-line printf() statements with embedded new-lines
such as:
 
        printf("
                hello,
                this
                is
                a 
                test");
 
 
In 5.2.1, the newlines have to be preceeded with a "\" character.  Since
I have some large programs with lots of printf() statements that include
embedded new-lines, I'm not looking forward to going through thousands
of lines of code to add "\" characters.  Is there any command line 
option
option to "cc" (didn't find one in the manpage) or other way to compile
my old code the way it is?
 
Jon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405201900.i4KJ0h5P046853>