HomeFreeBSD

Only put one CTASSERT() inside each macro to avoid compile issues.

Description

Only put one CTASSERT() inside each macro to avoid compile issues.
The problem is that the LINE macro is constant inside a macro and
results in identical assert statements when the compiler does not
support the static builtin assert function.

MFC: 3 days
Sponsored by: Mellanox Technologies

Details

Provenance
hselaskyAuthored on
Parents
rS273898: MFC 258028:
Branches
Unknown
Tags
Unknown

Event Timeline