From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail2.openmailbox.org (mail2.openmailbox.org [62.4.1.33]); by fantadrom.bsd.lv (OpenSMTPD) with ESMTP id 82ad98d3; for ; Wed, 25 Feb 2015 12:23:41 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail2.openmailbox.org (Postfix) with ESMTP id F22AC202CCD for ; Wed, 25 Feb 2015 18:23:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=openmailbox.org; h=user-agent:in-reply-to:content-disposition:content-type :content-type:mime-version:references:message-id:subject:subject :from:from:date:date:received; s=openmailbox; t=1424885018; bh=Y HLiQ3PgNfE2A+KzYbhutUXEx4Wn1ocez36DhP/oz8Y=; b=lCNr1PYiiyesriTQg JY6Y9UywYIWG/r5euL34RTH6UmfUOMGqtN4R2tbVOggDJ76mGymsu70vbWOoIEyI 1AaLt27rEPr37dBhblaPO5uacHtPXQuULOpTuKgA0488bOrblvZ1Gf2U/RvZ8prY K45JlLa7Z3yPsj8v1RqDjtw2Zw= X-Virus-Scanned: amavisd-new at openmailbox.org Received: from mail2.openmailbox.org ([62.4.1.33]) by localhost (mail.openmailbox.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id pgvZZ225qtmA for ; Wed, 25 Feb 2015 18:23:38 +0100 (CET) Date: Wed, 25 Feb 2015 19:23:32 +0200 From: Svyatoslav Mishyn To: discuss@mdocml.bsd.lv Subject: Re: texi2mdoc Message-ID: <20150225172330.GA1566@k8> Mail-Followup-To: discuss@mdocml.bsd.lv References: <54EB47BE.6000608@bsd.lv> <20150223165627.GA13719@k8> <54EB63EA.4080702@bsd.lv> <20150223181739.GA9706@k8> <54EDE7A2.9020001@bsd.lv> X-Mailinglist: mdocml-discuss Reply-To: discuss@mdocml.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <54EDE7A2.9020001@bsd.lv> User-Agent: Mutt/1.5.23 (2014-03-12) (Wed, 25 Feb 16:17) Kristaps Dzonsons: > Hi, > > All of the raised concerns are part of the new release, 0.1.2. > > http://mdocml.bsd.lv/texi2mdoc > Hello, Now I'm experimenting to compile against musl [0] (via musl-gcc wrapper) :) texi2mdoc is interesting for me just because I still trying to learn C. and I like small and beautiful programs BTW: Why all files extracted from tarball read-only, not for example, -rw-rw-r-- ? /home/juef/dl/texi2mdoc-0.1.2: make CC=musl-gcc musl-gcc -g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings -c -o main.o main.c In file included from main.c:32:0: extern.h:397:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' void advance(struct texi *, size_t *); ^ main.c:35:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'static' static const char *const sects[SECTSZ] = { ^ main.c: In function 'dodefindex': main.c:352:3: warning: implicit declaration of function 'advance' [-Wimplicit-function-declaration] advance(p, pos); ^ main.c: In function 'dosubsubsection': main.c:1503:19: error: 'sects' undeclared (first use in this function) teximacroopen(p, sects[sec]); ^ main.c:1503:19: note: each undeclared identifier is reported only once for each function it appears in main.c:1497:7: warning: variable 'sec' set but not used [-Wunused-but-set-variable] int sec; ^ main.c: In function 'dosubsection': main.c:1517:45: error: 'sects' undeclared (first use in this function) texierr(p, "\"%s\" in open line scope!?", sects[sec]); ^ main.c: In function 'dosection': main.c:1564:45: error: 'sects' undeclared (first use in this function) texierr(p, "\"%s\" in open line scope!?", sects[sec]); ^ main.c:1544:8: warning: variable 'sec' set but not used [-Wunused-but-set-variable] int sec; ^ : recipe for target 'main.o' failed make: *** [main.o] Error 1 [0]: http://www.musl-libc.org/ -- http://www.juef.tk/ -- To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv