CONFIG_CBPRINTF_PACKAGE_LONGDOUBLE

Support packaging of long doubles

Type: bool

Help

Option impact required alignment for buffers used for packaging
(CBPRINTF_PACKAGE_ALIGNMENT). On most platforms long doubles
requires buffer to be 16 bytes aligned. Long doubles are rarely used
so such alignment is an unnecessary waste. If option is disabled,
then compilation fails if long double is used.

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At <Zephyr>/lib/os/Kconfig.cbprintf:119

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:43<Zephyr>/lib/Kconfig:10<Zephyr>/lib/os/Kconfig:146

Menu path: (Top) → Additional libraries → OS Support Library

config CBPRINTF_PACKAGE_LONGDOUBLE
    bool "Support packaging of long doubles"
    help
      Option impact required alignment for buffers used for packaging
      (CBPRINTF_PACKAGE_ALIGNMENT). On most platforms long doubles
      requires buffer to be 16 bytes aligned. Long doubles are rarely used
      so such alignment is an unnecessary waste. If option is disabled,
      then compilation fails if long double is used.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)