Chapter 16. Package: Infrastructure

Table of Contents
Option: Use varargs in diag_printf()
Component: Asserts & Tracing
Component: Startup options
Option: Smaller slower memcpy()
Option: Smaller slower memset()

Macro name

CYGPKG_INFRA

Type

Dummy

Description

Common types and useful macros. Tracing and assertion facilities. Package startup options.

Option: Use varargs in diag_printf()

Macro name

CYGDBG_INFRA_DIAG_PRINTF_USE_VARARG

Type

Boolean

Description

The diagnostic routine diag_printf() can be defined using either variadic arguments or a K&R style definition. The former will work in most circumstances, but if variable argument handling is broken or missing then the K&R variant may be used. This will also generate warnings about the declaration of diag_printf() not being a prototype. These may safely be ignored.