Skip to content

Builtin offsetof

Hernan Ponce de Leon requested to merge __builtin_offsetof into main

As discussed in #1393 (closed) it seems not to be possible to define offsetof in standard C.

This MR replaces the manual definition by using __builtin_offsetof as suggested by @sim642.

Merge request reports