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:
+1
-1
@@ -70,7 +70,7 @@ Message::Message(const IrcPrivateMessage& ircMessage, const Channel& Channel)
|
||||
}
|
||||
|
||||
// highlights
|
||||
#warning "xD"
|
||||
#pragma message WARN("xD")
|
||||
|
||||
// color
|
||||
QColor usernameColor = ColorScheme::getInstance().SystemMessageColor;
|
||||
|
||||
Reference in New Issue
Block a user