From owner-freebsd-ports@FreeBSD.ORG Sat May 17 17:13:53 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D9FD2C23 for ; Sat, 17 May 2014 17:13:53 +0000 (UTC) Received: from um-nip4-missouri-out.um.umsystem.edu (um-nip4-missouri-out.um.umsystem.edu [198.209.49.177]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "um-tip1.um.umsystem.edu", Issuer "InCommon Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9405425D0 for ; Sat, 17 May 2014 17:13:53 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiIFAGmYd1PPoJ7E/2dsb2JhbABZgwZPWKlDCwEFBporAYEJFnSCJQEBBXgRAgEIGAkWDwkDAgECASAlAgQNCAEBiD3LUYVYF4VViQKEQASJW5E8kV2DN4Iw X-IPAS-Result: AiIFAGmYd1PPoJ7E/2dsb2JhbABZgwZPWKlDCwEFBporAYEJFnSCJQEBBXgRAgEIGAkWDwkDAgECASAlAgQNCAEBiD3LUYVYF4VViQKEQASJW5E8kV2DN4Iw Received: from um-tcas1.um.umsystem.edu ([207.160.158.196]) by um-nip4-exch-relay.um.umsystem.edu with ESMTP; 17 May 2014 12:13:53 -0500 Received: from UM-MBX-N02.um.umsystem.edu ([169.254.5.16]) by UM-TCAS1.um.umsystem.edu ([207.160.158.196]) with mapi id 14.03.0181.006; Sat, 17 May 2014 12:13:52 -0500 From: "Montgomery-Smith, Stephen" To: "freebsd-ports@freebsd.org" Subject: Re: clang problems with math/octave-forge-miscellaneous Thread-Topic: clang problems with math/octave-forge-miscellaneous Thread-Index: AQHPcfGR/OF95qqYVkKQ5NSQe84WqptFVqwA Date: Sat, 17 May 2014 17:13:51 +0000 Message-ID: <537798CE.8040009@missouri.edu> References: <537795C5.2050609@missouri.edu> In-Reply-To: <537795C5.2050609@missouri.edu> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 x-originating-ip: [207.160.158.205] Content-Type: text/plain; charset="iso-8859-1" Content-ID: <86F9632D6F7D454EBCCBFB854C520567@missouri.edu> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 May 2014 17:13:53 -0000 On 05/17/2014 12:00 PM, Montgomery-Smith, Stephen wrote: > I am trying to make the port math/octave-forge-miscellaneous clang > compliant. In the file ${WRKSRC}/partarray.cc is are lines like this: >=20 > Array bidc [maxdims], eidc [maxdims]; > ... stuff ... > eidc[i] =3D eidx; >=20 > The compilation dies saying that eidc is not defined. I see the problem. The compiler actually goes wrong with Array bidc [maxdims]; saying partarray.cc:42:31: error: variable length array of non-POD element type 'Array' So the error is somewhere else. Sorry for the noise. But if I don't figure out the latter error, I'll be back with more questions.