Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3A6C5439.35462E9@kls-logistic.fr> Date: Mon, 22 Jan 2001 16:39:37 +0100 From: Maria X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Compiling with -fpack-struct yields wrong results Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, When compiling my program with -fpack-struct, fstat returns the wrong result !!! I suggest redefining "struct stat" with the packed attribute in the corresponding include file. Or at least to add something about it in the FAQ. I think the problem is common to all non-aligned structures. -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple