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:
Rasmus Karlsson
2017-01-05 16:42:26 +01:00
parent e68f885dff
commit 7262c11458
5 changed files with 23 additions and 5 deletions
+1 -1
View File
@@ -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;