dwww Home | Show directory contents | Find package

# ifndef-define-typo

Tries to find cases where a `#define` following an `#ifndef` defines a different but similar name.

Example:
```
#ifndef GL_FRAMEBUFFER_SRG // Oops, typo.
# define GL_FRAMEBUFFER_SRGB 0x8DB9
#endif
```
This check uses a Levenshtein Distance algorithm so it will only warn if the names are similar.
This check is disabled by default as it will report many false-positives.

Generated by dwww version 1.15 on Mon Jun 24 13:42:07 CEST 2024.