From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21110 invoked by alias); 11 Feb 2002 22:45:34 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 21043 invoked from network); 11 Feb 2002 22:45:29 -0000 Received: from unknown (HELO laptop.moene.indiv.nluug.nl) (195.109.255.217) by sources.redhat.com with SMTP; 11 Feb 2002 22:45:29 -0000 Received: from local ([127.0.0.1] helo=moene.indiv.nluug.nl) by laptop.moene.indiv.nluug.nl with esmtp (Exim 3.12 #1 (Debian)) id 16aOr0-0007yP-00; Mon, 11 Feb 2002 23:23:18 +0100 Message-ID: <3C684453.9841897E@moene.indiv.nluug.nl> Date: Mon, 11 Feb 2002 16:26:00 -0000 From: Toon Moene Organization: Moene Computational Physics, Maartensdijk, The Netherlands X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.17 i686) X-Accept-Language: en MIME-Version: 1.0 To: Ganesh Ramakrishnan CC: gcc-help@gcc.gnu.org Subject: Re: cpp in fortran References: <20020211132106.65419.qmail@web14909.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-02/txt/msg00112.txt.bz2 Ganesh Ramakrishnan wrote: > I am defining this macro in a header file & including > it in fortran source file using #include. > > #define fun(x) fun(x, __LINE__, __FILE__) > > But in the output file, that particular line is going > beyont the 72 columns & because of that i am not able > to compile using g77. You could use the -ffixed-line-length-N option on the g77 command line (where N is maximum length of the source lines you want to use; N=0 means: infinite). Hope this helps, -- Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290 Saturnushof 14, 3738 XG Maartensdijk, The Netherlands Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)