Skip to main content
Pigweed's logo Pigweed
  1. Home
  2. Reference
  3. C/C++
  4. pw_preprocessor
  5. Internal
Loading...
Searching...
No Matches

Overview

Internal implementation details.

Submodules

 Compiler
 Public compiler attributes and macros.
 

Macros

#define _PW_PRINTF_FORMAT_TYPE   printf
 
#define _PW_REQUIRE_SEMICOLON    static_assert(1, "This macro must be terminated with a semicolon")
 

Macro Definition Documentation

◆ _PW_PRINTF_FORMAT_TYPE

#define _PW_PRINTF_FORMAT_TYPE   printf

When compiling for host using MinGW, use gnu_printf() rather than printf() to support z format specifiers only if available (non-clang compilers).