more macOS whitelisting
X11, Qt, and util also ensure the functional warnings.h macro definitions are used with c++ clang compiler
This commit is contained in:
@@ -565,6 +565,8 @@ QHBoxLayout *NetHackQtStatusWindow::InitHitpointBar()
|
||||
return hpbar; // caller will add our result to vbox layout
|
||||
}
|
||||
|
||||
DISABLE_WARNING_FORMAT_NONLITERAL
|
||||
|
||||
// when hitpoint bar is enabled, calculate and draw it, otherwise remove it
|
||||
void NetHackQtStatusWindow::HitpointBar()
|
||||
{
|
||||
@@ -665,6 +667,8 @@ void NetHackQtStatusWindow::HitpointBar()
|
||||
}
|
||||
}
|
||||
|
||||
RESTORE_WARNING_FORMAT_NONLITERAL
|
||||
|
||||
/*
|
||||
* Update the displayed status. The current code in botl.c updates
|
||||
* two lines of information. Both lines are always updated one after
|
||||
|
||||
Reference in New Issue
Block a user