the preprocessor command #warning is not standard.
use #pragma message WARN("xD") to make it work on gcc and msvc
This commit is contained in:
+2
-2
@@ -208,7 +208,7 @@ void IrcManager::addIgnoredUser(QString const &username)
|
||||
{
|
||||
QString errorMessage;
|
||||
if (!tryAddIgnoredUser(username, errorMessage)) {
|
||||
#warning "xD"
|
||||
#pragma message WARN("Implement IrcManager::addIgnoredUser")
|
||||
}
|
||||
}
|
||||
|
||||
@@ -241,6 +241,6 @@ void IrcManager::removeIgnoredUser(QString const &username)
|
||||
{
|
||||
QString errorMessage;
|
||||
if (!tryRemoveIgnoredUser(username, errorMessage)) {
|
||||
#warning "xD"
|
||||
#pragma message WARN("TODO: Implement IrcManager::removeIgnoredUser")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user