From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10625 Path: news.gmane.org!.POSTED!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: Using macro CMSG_NXTHDR generates warnings with CLANG Date: Tue, 11 Oct 2016 18:43:21 +0200 Message-ID: <20161011164321.GN28065@port70.net> References: <20161011150901.GG19318@brightrain.aerifal.cx> <20161011153100.GM28065@port70.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1476204221 2507 195.159.176.226 (11 Oct 2016 16:43:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 11 Oct 2016 16:43:41 +0000 (UTC) User-Agent: Mutt/1.6.0 (2016-04-01) To: musl@lists.openwall.com Original-X-From: musl-return-10638-gllmg-musl=m.gmane.org@lists.openwall.com Tue Oct 11 18:43:38 2016 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 1bu09M-00082n-N5 for gllmg-musl@m.gmane.org; Tue, 11 Oct 2016 18:43:32 +0200 Original-Received: (qmail 24206 invoked by uid 550); 11 Oct 2016 16:43:33 -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 24188 invoked from network); 11 Oct 2016 16:43:33 -0000 Mail-Followup-To: musl@lists.openwall.com Content-Disposition: inline In-Reply-To: Xref: news.gmane.org gmane.linux.lib.musl.general:10625 Archived-At: * Jan Vorlicek [2016-10-11 15:38:38 +0000]: > My test was a c++ code :-). That's why the struct was not there. > don't top post. including sys/socket.h (or any posix header) in c++ code is undefined (neither iso c++ nor posix defines the behaviour) so you are on your own.