From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27624 invoked by alias); 14 Dec 2007 08:53:23 -0000 Received: (qmail 27615 invoked by uid 22791); 14 Dec 2007 08:53:23 -0000 X-Spam-Check-By: sourceware.org Received: from spc2-lanc4-0-0-cust430.asfd.broadband.ntl.com (HELO grenache.tuckley.homedns.org) (81.111.9.175) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 14 Dec 2007 08:53:19 +0000 Received: from zinfandel ([192.168.1.198]) by grenache.tuckley.homedns.org with esmtp (Exim 4.63) (envelope-from ) id 1J36IG-0004z3-L8 for gcc-help@gcc.gnu.org; Fri, 14 Dec 2007 08:53:16 +0000 Message-ID: <4762447C.2080702@tuckley.org> Date: Fri, 14 Dec 2007 08:53:00 -0000 From: Colin Tuckley User-Agent: Icedove 1.5.0.14pre (X11/20071020) MIME-Version: 1.0 To: gcc-help@gcc.gnu.org Subject: gFortran problem compiling complex character strings Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2007-12/txt/msg00272.txt.bz2 I'm currently trying to build libhdf4 on armel with gfortran. colin@muscat:~$ gfortran --version GNU Fortran (GCC) 4.2.3 20071123 (prerelease) (Debian 4.2.2-4) One of the test programs contains the statement: print *, 'Try one of "Skip", "Test", "Verbosity" or "Cleanup"' which fails to compile giving: gfortran -g -O2 -c fortestF.f fortestF.f:193.20: print *, 'Try one of "Skip", "Test", "Verbosity" or "Cleanup" 1 Error: Unterminated character constant beginning at (1) If I remove the double quote characters from inside the string then it compiles ok. Is this a compiler error/problem? A configuration problem? or something else? regards, Colin -- Colin Tuckley | +44(0)1903 236872 | PGP/GnuPG Key Id Debian Developer | +44(0)7799 143369 | 0x1B3045CE "Energize!" said Picard and the pink bunny appeared...