mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:27:34 +00:00
Meta: Fix debug-flag detection
Detection broke when we moved from '#ifdef DEBUG_FOO dbgln()' to 'dbgln<DEBUG_FOO>()'. This patch makes detection more general, which sadly runs into more false-positives. No rotten code was found, hooray! :^)
This commit is contained in:
parent
c2e5bc442d
commit
363cc09091
2 changed files with 12 additions and 4 deletions
|
@ -170,7 +170,15 @@ set(SYSCALL_1_DEBUG ON)
|
|||
|
||||
# False positive: DEBUG is a flag but it works differently.
|
||||
# set(DEBUG ON)
|
||||
# False positive: DT_DEBUG is a flag, but for a bitset, not a feature.
|
||||
# set(DT_DEBUG ON)
|
||||
# False positive: GUI_DND_DEBUG is a flag, but passed as an envvar.
|
||||
# set(GUI_DND_DEBUG ON)
|
||||
# False positive: GUI_FOCUS_DEBUG is a flag, but passed as an envvar.
|
||||
# set(GUI_FOCUS_DEBUG ON)
|
||||
# False positive: LOG_DEBUG is a flag, but for a bitset, not a feature.
|
||||
# set(LOG_DEBUG ON)
|
||||
# False positive: UHCI_USBCMD_SOFTWARE_DEBUG is a flag, but for a bitset, not a feature.
|
||||
# set(UHCI_USBCMD_SOFTWARE_DEBUG ON)
|
||||
# Clogs up build: The WrapperGenerator stuff is run at compile time.
|
||||
# set(WRAPPER_GENERATOR_DEBUG ON)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue