From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/11240 Path: news.gmane.org!.POSTED!not-for-mail From: Syrone Wong Newsgroups: gmane.linux.lib.musl.general Subject: superfluous space char in marco Date: Sun, 16 Apr 2017 15:58:11 +0800 Message-ID: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1492329529 17641 195.159.176.226 (16 Apr 2017 07:58:49 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 16 Apr 2017 07:58:49 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-11255-gllmg-musl=m.gmane.org@lists.openwall.com Sun Apr 16 09:58:43 2017 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1czf4z-0004Qj-O6 for gllmg-musl@m.gmane.org; Sun, 16 Apr 2017 09:58:41 +0200 Original-Received: (qmail 3277 invoked by uid 550); 16 Apr 2017 07:58:44 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 3245 invoked from network); 16 Apr 2017 07:58:43 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=80scJnU80AjOmWL/2RV43NS26fm6HycecGDFTAXTF2o=; b=rnyV2XV6uYUXuql0qwUOvptwH8HtGsKoVJzGIBAEyyyQZbGQyd2xC5A5OplfM0AjOK Ia7B0caC/6PmgVdWMavpF1EMjMrAVL9i2xE0XfQnzHt9G4+ICMwnYR0/Sis8CXbDVC7D wDzi40jTK8KwmQ8xX2pyKHzjZWG1lGcpwsqlI2xr3HX6Jz2tSuBs5vgbwlS74oXjy5hw 5R4HX1d3rVuj5k1pApD1Moto+c9eNYzPU1ht2UbeiLH8EpuCTTXDGB5OfQat4mzd61jZ ZWBtrrvziknJ8jbqUOL0TzuCAnocFusiKX4DA+thMaQkeb6KNNyHIj6Nqtrwfig497l3 6iZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=80scJnU80AjOmWL/2RV43NS26fm6HycecGDFTAXTF2o=; b=hI3ITeepY2Bswotns9jjcXyiAuaqo2AuBNF9huuLDP3c+oo/PEoWH4BUlC5wPWcYEY NZ9wQwRt7WY9sHU2pkfwwL+LMEE39uuWBVpQJ/8tZI8fZ9WGC7iWuhlq40BYKNb+hMfE RIAsZ8mL/I9+kg+wjMrKTHouM3FOvT1FAlRrsdlTTPQMaqveO5tL1GTJHPCyi3zXSqaR M58APhJ9BODzvHgHZDSjipBS3TOTx8f5lxrOSUHmrjT8Xufh2b1qqbEnMxa39WVvKd1Y NQz1NU1UjNVDWgzu58isTyjER67+dcr4icXcq+JfeqepyWT9a9VwS8PVwBaIvAedhTBa 6hgw== X-Gm-Message-State: AN3rC/4GOvZ4RAjJcReqFpSMryUY7baL4zIXIQiN9Wqy4rD2r4LnZva/ ab5KeVAEqqHZJwRwUAIyHV3ub4kDofyk X-Received: by 10.223.171.6 with SMTP id q6mr13892715wrc.147.1492329511556; Sun, 16 Apr 2017 00:58:31 -0700 (PDT) Xref: news.gmane.org gmane.linux.lib.musl.general:11240 Archived-At: For include/net/if.h, we define it as #define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST| \ IFF_ECHO|IFF_MASTER|IFF_SLAVE|IFF_RUNNING|IFF_LOWER_UP|IFF_DORMANT) while iproute2 4.10.0 define it as #define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST|IFF_ECHO|\ IFF_MASTER|IFF_SLAVE|IFF_RUNNING|IFF_LOWER_UP|IFF_DORMANT) in include/linux/if.h. The only difference is the space char after IFF_BROADCAST. This causes the redefinition of IFF_VOLATILE. Warning when compiling iproute2 4.10.0: In file included from ../include/linux/if_tunnel.h:5:0, from iptunnel.c:24: ../include/linux/if.h:130:0: warning: "IFF_VOLATILE" redefined #define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST|IFF_ECHO|\ In file included from iptunnel.c:21:0: /home/wong/github/lede-1/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-6.3.0_musl_eabi/include/net/if.h:48:0: note: this is the location of the previous definition #define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST| \ Best Regards, Syrone Wong