From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Joseph S. Myers" To: mike stump Cc: , Subject: Re: new __builtin_choose_type (patch) (new builtin_equal_types patch) Date: Fri, 05 Oct 2001 11:52:00 -0000 Message-id: References: <200110051846.LAA02919@kankakee.wrs.com> X-SW-Source: 2001-10/msg00317.html On Fri, 5 Oct 2001, mike stump wrote: > There isn't much wrong with __builtin_same_type (*(T *)0, *(int*)0)... > One can compare double to int, if one wants... I don't favor a > grammar extension, since a trivial work around exists. Since these That doesn't work as a built-in function. To allow for the different types it would need to be represented as a variadic function - but then arguments of type float would be promoted to double, which isn't suitable for implementing . -- Joseph S. Myers jsm28@cam.ac.uk