This is the mail archive of the gcc@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: g++ build failure (Was: C++ PATCH: PR 12735)


On Thu, 13 Nov 2003, Joern Rennecke wrote:

> exists in c99, it is not compatible with any pointer type, and
> thus assigning a union tree_node * to ok is a constraint violation
> of 6.5.16.1 .

The last case of 6.5.16.1#1 ("the left operand has type _Bool and the
right is a pointer") is the one that applies.

But the requirement for cross-compilers to build with 2.95 means we can't
use this (or other properties of _Bool that distinguish it from other
integer types) in GCC.

-- 
Joseph S. Myers
jsm@polyomino.org.uk


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