X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=9Hy9nrKlD8OfqR+v0axDBg/YYBoINIX/bTFTl57U4Kg=; b=hTHbkGESHzeasSLjgsw+D4Fc9dCLD1Xvn9pPa+YuEICtAG3FxHj+R/RAEUljTZhAbB N9ZPQIVY+SXQMWyoE8ReFUhw8gtJRPolzni3C9jW3a2DTzgm+LqtR+G+V4SBMI9DdKJf 8PFqMf/+NZchV/1YCrRmXx5JPg7PJIvDKmXh+/sUzTIS6OZKQK8AgWWjYHkWnaJTDfZ2 jY8ELu8x+pjAkp4lNgw0FvlR7QPEC/zwg05UgsiHZVPC84dT4nN/iXJC/CUC3bwOM2Lw 287UJiCXdPqUik7qLr75a616uoJ0rVCjXfBrapd/iAWdkEGtkzRnJmZjqtbfHHsN2nQF paTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=9Hy9nrKlD8OfqR+v0axDBg/YYBoINIX/bTFTl57U4Kg=; b=S1WIN9Hq9wUI45hyHmbprZ13tTLXK7tEY86m6ptTeHzqRoIrWAHLcPn4Q8H/tgOC/d 8eF+SOQWZF7sWWZ5ort0iObfAVnzTIn299+vQtnv1o7Is3Lbnnss4NlrD49359vxBmAg UlHAIsrbO0vydSzqU2OBeqjMvwbp5jngkoBnqgshbllPYduS2sWigynC4wZpT+0fSiU3 NNIQCeOhQ//6gbGkf4cSqrNvrO5EfFoW0/KZcg4eyoTPhy8Fc4ApKfH9JszENUVyLr3y 8/ltCHy5RsWTKZIcqTmf1s5nZoTakxVU9ynVA5X3JhxF2DIGXpbTkpOc6LSqkSptkYep RaiQ== X-Gm-Message-State: APjAAAXLqS63J4mTcMSzn67lx/sLc1g6eywbxUW1d3t6ZJrbdoI8LcGt mUPUXngI8jXOmIvSKdNUPCBRrx5RZVLhKOiQqYx85A== X-Google-Smtp-Source: APXvYqw5C/OY6kbqj/Huon+QX1oAvu+PSfhGvXCHbH5yElFDzp6g4N2MFqI2/8PdJFgM/MV4WfHEBfiAB1ddi4cW8/o= X-Received: by 2002:a1c:9e58:: with SMTP id h85mr15420564wme.77.1573354308287; Sat, 09 Nov 2019 18:51:48 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: From: "Alan Corey (alan01346 AT gmail DOT com) [via geda-user AT delorie DOT com]" Date: Sat, 9 Nov 2019 21:51:47 -0500 Message-ID: Subject: Re: [geda-user] Trouble building gschem 1.10.0 To: geda-user AT delorie DOT com Content-Type: text/plain; charset="UTF-8" Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk You need to set GCC into c99 mode. Get a "-std=c99" or " -std=gnu99 " into your CFLAGS variable somehow. Something like CFLAGS="-std=c99" ./configure or if it's cmake look in the cache file for the CFLAGS for all build types and put it there. Normally you have to declare variables before you use them. Using for (GList *l = is a shortcut to declare it and use it in 1 step, I never liked it. On 11/9/19, gene glick (geneglick AT optonline DOT net) [via geda-user AT delorie DOT com] wrote: > Here's a snippet of the output...hope it is helpful > > s_clib.c: In function 's_clib_remove_update_callback': > s_clib.c:1548:3: error: 'for' loop initial declarations are only allowed in > C99 mode > for (GList *l = s_clib_update_closures; l != NULL; l = l->next) { > ^ > s_clib.c:1548:3: note: use option -std=c99 or -std=gnu99 to compile your > code > s_clib.c: In function 's_clib_end_update': > s_clib.c:1570:3: error: 'for' loop initial declarations are only allowed in > C99 mode > for (GList *l = s_clib_update_closures; l != NULL; l = l->next) > -- ------------- No, I won't call it "climate change", do you have a "reality problem"? - AB1JX Cities are cages built to contain excess people and keep them from cluttering up nature. Impeach Impeach Impeach Impeach Impeach Impeach Impeach Impeach