This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c/9569: 8 bytes seems to long for long long int


The following reply was made to PR c/9569; it has been noted by GNATS.

From: Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
To: "Joseph S. Myers" <jsm28@cam.ac.uk>
Cc: Neil Booth <neil@daikokuya.co.uk>,  <aj@gcc.gnu.org>,
	  <gcc-bugs@gcc.gnu.org>,  <stefaandr@hotmail.com>,
	  <gcc-gnats@gcc.gnu.org>
Subject: Re: c/9569: 8 bytes seems to long for long long int
Date: 06 Feb 2003 00:59:37 +0100

 "Joseph S. Myers" <jsm28@cam.ac.uk> writes:
 
 > On Wed, 5 Feb 2003, Neil Booth wrote:
 > 
 > > Could you justify that, or re-open the bug report?
 > 
 > Note that the bug report is actually a C++ bug report in the wrong
 > category, and C++ doesn't have long long, and in the C++ compiler
 > pedwarns (those that are enabled by default) are errors by default.
 
 I still don't get it. In C99, this is perfectly legal code, and does
 what the reporter wants. It is of course documented nowhere, but I
 would assume that g++ inherits C99's long long semantics if long long
 is enabled. Why not this part?
 
 -- 
 	Falk


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]