From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30142 invoked by alias); 11 Feb 2002 13:21:23 -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 29846 invoked from network); 11 Feb 2002 13:21:14 -0000 Received: from unknown (HELO web14909.mail.yahoo.com) (216.136.225.61) by sources.redhat.com with SMTP; 11 Feb 2002 13:21:14 -0000 Message-ID: <20020211132106.65419.qmail@web14909.mail.yahoo.com> Received: from [203.200.22.147] by web14909.mail.yahoo.com via HTTP; Mon, 11 Feb 2002 05:21:06 PST Date: Mon, 11 Feb 2002 07:05:00 -0000 From: Ganesh Ramakrishnan Subject: cpp in fortran To: gcc-help@gcc.gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-02/txt/msg00108.txt.bz2 sir, Will you please explain me how to drfine function like macros in Fortran linux? I am using cpp for getting the line number & file name of a particular function. After that i am not able to compile it using g77. The problem is i think, cpp is not supporting the fixed format. 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. Will you please suggest one method to get out of it? Expecting earliest reply. Thanking you, R.Ganesh __________________________________________________ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com