tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Expose max_align_t unconditionally



We gotta obey the namespace; perhaps use __max_align_t in the headers and only expose the real typedef for c++ > 98 or whatever.

christos

> On Mar 9, 2020, at 5:44 PM, Kamil Rytarowski <n54%gmx.com@localhost> wrote:
> 
> On 09.03.2020 20:05, Martin Husemann wrote:
>> This is pretty stupid, but IMHO no big deal. We can
>> 
> [...]
>> - just not support (i.e. #error) on older C++ standard compiles
> 
> There are still many programs in pkgsrc that set older C++ release. Some
> of them are hard to upgrade.
> 
> $ git grep c++03|wc -l
>     206
> $ git grep c++98|wc -l
>       9
> 
> <sanitizer.log>



Home | Main Index | Thread Index | Old Index