diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-07-17 22:50:42 +0200 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-07-17 22:50:42 +0200 |
commit | d0e96ac431f8ebccc5fd21580414913824d72766 (patch) | |
tree | c186e5307e36f4be47df18de516d95ea97556e78 /qtmips_cli | |
parent | 94095c7890f491d7023b1a69b3f088be8c05e898 (diff) | |
download | qtmips-d0e96ac431f8ebccc5fd21580414913824d72766.tar.gz qtmips-d0e96ac431f8ebccc5fd21580414913824d72766.tar.bz2 qtmips-d0e96ac431f8ebccc5fd21580414913824d72766.zip |
Prepend message types by MSG_, Windows headerfiles define ERROR as macro.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_cli')
-rw-r--r-- | qtmips_cli/msgreport.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qtmips_cli/msgreport.cpp b/qtmips_cli/msgreport.cpp index bd5f478..96181d4 100644 --- a/qtmips_cli/msgreport.cpp +++ b/qtmips_cli/msgreport.cpp @@ -51,13 +51,13 @@ void MsgReport::report_message(messagetype::Type type, QString file, QString typestr = "error"; switch (type) { - case messagetype::ERROR: + case messagetype::MSG_ERROR: typestr = "error"; break; - case messagetype::WARNING: + case messagetype::MSG_WARNING: typestr = "warning"; break; - case messagetype::INFO: + case messagetype::MSG_INFO: typestr = "info"; break; default: |