From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15287 invoked by alias); 21 Oct 2002 14:04:15 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 15280 invoked from network); 21 Oct 2002 14:04:14 -0000 Received: from unknown (HELO bclcl1.im.battelle.org) (131.167.1.2) by sources.redhat.com with SMTP; 21 Oct 2002 14:04:14 -0000 Received: from ns-bco-scn1.im.battelle.org ([131.167.1.122]) by BCLCL1 (PMDF V5.1-10 #U2779) with SMTP id <01KNX8FGOJH495SN45@BCLCL1> for gcc-help@gcc.gnu.org; Mon, 21 Oct 2002 10:04:46 EDT Received: from 131.167.1.91 by ns-bco-scn1.im.battelle.org (InterScan E-Mail VirusWall NT); Mon, 21 Oct 2002 10:04:02 -0400 Received: by ws-bco-mse1.milky-way.battelle.org with Internet Mail Service (5.5.2655.55) id ; Mon, 21 Oct 2002 10:04:03 -0400 Date: Mon, 21 Oct 2002 07:04:00 -0000 From: "Moore, Mathew L" Subject: RE: Avoiding "assignment from incompatible pointer type" warning To: 'Florian Weimer' , John Love-Jensen Cc: Claudio Bley , Joshua Nye , Steve Dondley , gcc-help@gcc.gnu.org Message-id: <2F05A390F72A0A409390E016D23E45E8042DBEB6@ns-bco-mse4.im.battelle.org> MIME-version: 1.0 Content-type: text/plain; charset="iso-8859-1" X-SW-Source: 2002-10/txt/msg00244.txt.bz2 > > 6.3.2.3(7) only ensures that conforming implementations may not issue > a diagnostic for such programming errors. > To help expand my (very) limited knowledge, does this mean that float f; int *p = (int*)&f; may not work even if sizeof(float) == sizeof(int)? Thanks, --Matt