On Tuesday, October 16, 2012 11:50:48 PM Tom Lane wrote:
> Andres Freund writes:
> > On Monday, October 01, 2012 04:46:41 AM Tom Lane wrote:
> >> Provide some static-assertion functionality on all compilers.
> >
> > The current method used here doesn't allow the macro to be used in file
> > scope
Andres Freund writes:
> On Monday, October 01, 2012 04:46:41 AM Tom Lane wrote:
>> Provide some static-assertion functionality on all compilers.
> The current method used here doesn't allow the macro to be used in file scope
> which imo would be rather useful. What about adding something like:
I
On Monday, October 01, 2012 04:46:41 AM Tom Lane wrote:
> Provide some static-assertion functionality on all compilers.
>
> On reflection (especially after noticing how many buildfarm critters have
> __builtin_types_compatible_p but not _Static_assert), it seems like we
> ought to try a bit harder
Provide some static-assertion functionality on all compilers.
On reflection (especially after noticing how many buildfarm critters have
__builtin_types_compatible_p but not _Static_assert), it seems like we
ought to try a bit harder to make these macros do something everywhere.
The initial cut at