X-Authentication-Warning: acp3bf.physik.rwth-aachen.de: broeker owned process doing -bs Date: Tue, 27 Mar 2001 14:37:16 +0200 (MET DST) From: Hans-Bernhard Broeker X-Sender: broeker AT acp3bf To: djgpp-workers AT delorie DOT com Subject: Re: Small patch for src/libemu/src/emu387.cc In-Reply-To: <3AB61DF0.17527.ED9987@localhost> Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-494318816-1537371919-985696636=:16700" Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime AT docserver DOT cac DOT washington DOT edu for more info. ---494318816-1537371919-985696636=:16700 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 19 Mar 2001 pavenis AT lanet DOT lv wrote: > Sorry for sending zip archive in attachment, but I don't lke to send > about 100K in an message. [...] Well, I thought I'd make what Andris sent a bit easier to digest for all of us, so I ran a little filter script of mine across the 4 *.log files contained in his .zip file to list, count, and sort the different warnings by message: 1 defined but not used 1 was declared implicitly and later 1 was used with no prototype before its definition 1 declaration of shadows global declaration 1 previous declaration of 1 suggest not using #elif in traditional C 1 traditional C ignores #ifdef with the # indented 1 traditional C lacks a separate namespace for labels, identifier conflicts 1 trigraph ??> ignored 2 traditional C ignores #if with the # indented 2 traditional C rejects the unary plus operator 3 might be used uninitialized in this function 3 cast discards qualifiers from pointer target type 3 traditional C ignores #else with the # indented 3 traditional C ignores #endif with the # indented 4 deprecated use of label at end of compound statement 4 traditional C rejects initialization of unions 5 traditional C rejects automatic aggregate initialization 6 traditional C ignores #define with the # indented 23 implicit declaration of function 39 traditional C rejects string concatenation 67 traditional C rejects the 'l' suffix 100 multi-line string literals are deprecated 152 traditional C rejects the 'u' suffix As can be seen, the vast majority of the warnings are of the "traditional C rejects..." type, plus some 'deprecated' warnings probably linked to changes between classic ANSI/ISO C 89/90 and the new C99. Just in case anyone's interested in how you can make such a listing, I've attached the script, too. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain. ---494318816-1537371919-985696636=:16700 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=filtermake Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Filtering script Content-Disposition: attachment; filename=filtermake IyEvYmluL3NoDQpncmVwIHdhcm5pbmcgJDEgfFwNCiAgc2VkIC1lICdzL14u Kndhcm5pbmc6IC8vJyAtZSAicy9cYFteJ10qJy8vZyIgfCBcDQogIHNvcnQg fCB1bmlxIC1jIHwgc29ydCAtbiB8IFwNCiAgbGVzcyAtUw0KICANCg== ---494318816-1537371919-985696636=:16700--