Received: (qmail 23356 invoked by uid 2012); 11 Nov 1998 14:39:30 -0000 Message-Id: <19981111143930.23355.qmail@hyperreal.org> Date: 11 Nov 1998 14:39:30 -0000 From: Avi Alkalay Reply-To: avi@br.ibm.com To: apbugs@hyperreal.org Subject: Compilation warnings X-Send-Pr-Version: 3.2 >Number: 3381 >Category: os-aix >Synopsis: Compilation warnings >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Wed Nov 11 06:40:01 PST 1998 >Last-Modified: Tue Dec 15 09:20:01 PST 1998 >Originator: avi@br.ibm.com >Organization: >Release: 1.3.3 >Environment: AIX 4.3.1 GCC 2.8.1 uname -a="AIX neve 3 4 000175A24C00" >Description: After configuring with DFLAGS=_LONG_LONG; ./configure # see PR#3379 almost all files that was compiled got this warnings: In file included from ../include/ap_config.h:919, from logresolve.c:42: /usr/include/arpa/inet.h:152: warning: `struct ether_addr' declared inside parameter list /usr/include/arpa/inet.h:152: warning: its scope is only this definition or declaration, /usr/include/arpa/inet.h:152: warning: which is probably not what you want. /usr/include/arpa/inet.h:153: warning: `struct ether_addr' declared inside parameter list /usr/include/arpa/inet.h:154: warning: `struct ether_addr' declared inside parameter list /usr/include/arpa/inet.h:159: warning: `struct sockaddr_dl' declared inside parameter list /usr/include/arpa/inet.h:160: warning: `struct sockaddr_dl' declared inside parameter list /usr/include/arpa/inet.h:161: warning: `struct sockaddr_dl' declared inside parameter list The web-server seems to run well even with this warnings. When I compiled with C for AIX v4.4 (the IBM compiler), I didn't get any compilation problem but I couldn't run it well (PR#2534) >How-To-Repeat: >Fix: >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: fielding State-Changed-When: Fri Dec 11 18:38:26 PST 1998 State-Changed-Why: The warnings are for code within the system header files. There is nothing we can do to fix the AIX header files. From: aviram@br.ibm.com To: fielding@apache.org Cc: apbugs@apache.org Subject: Re: os-aix/3381: Compilation warnings Date: Tue, 15 Dec 1998 15:12:38 -0300 I just asked to change the configuration scripts this way: If (OS=AIX-4.3.1 && CC=gcc-2.8.1) CFLAGS="$CFLAGS -D_LONG_LONG" Thank you, Avi ___________________________________________________________________________ __ Avi Alkalay Information Technologies Specialist - Internet & Intranet Services of IBM Global Services - Brazil Tel: +55 11 3050-2327 / Fax: +55 11 3050-2300 / Tie-line: 842-2327 fielding@apache.org on 11/12/98 23:38:27 To: apache-bugdb@apache.org, Aviram Alkalay/Brazil/IBM, fielding@apache.org cc: Subject: Re: os-aix/3381: Compilation warnings The warnings are for code within the system header files. There is nothing we can do to fix the AIX header files. >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ] [If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request ] [from a developer. ] [Reply only with text; DO NOT SEND ATTACHMENTS! ]