Skip to content

Instantly share code, notes, and snippets.

@dubslow
Created September 10, 2014 21:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dubslow/07518b61990dab27e0c5 to your computer and use it in GitHub Desktop.
Save dubslow/07518b61990dab27e0c5 to your computer and use it in GitHub Desktop.
core.cpp:871:35: warning: character constant too long for its type [enabled by default]
banned << QChar('/') << QChar('\') << QChar(':') << QChar('<') << QChar('>') << QChar('"') << QChar('|') << QChar('?') << QChar('*');
^
core.cpp:871:51: warning: character constant too long for its type [enabled by default]
banned << QChar('/') << QChar('\') << QChar(':') << QChar('<') << QChar('>') << QChar('"') << QChar('|') << QChar('?') << QChar('*');
^
core.cpp:871:65: warning: character constant too long for its type [enabled by default]
banned << QChar('/') << QChar('\') << QChar(':') << QChar('<') << QChar('>') << QChar('"') << QChar('|') << QChar('?') << QChar('*');
^
core.cpp:871:79: warning: character constant too long for its type [enabled by default]
banned << QChar('/') << QChar('\') << QChar(':') << QChar('<') << QChar('>') << QChar('"') << QChar('|') << QChar('?') << QChar('*');
^
core.cpp:871:92: warning: missing terminating " character [enabled by default]
banned << QChar('/') << QChar('\') << QChar(':') << QChar('<') << QChar('>') << QChar('"') << QChar('|') << QChar('?') << QChar('*');
^
core.cpp:871:5: error: missing terminating " character
banned << QChar('/') << QChar('\') << QChar(':') << QChar('<') << QChar('>') << QChar('"') << QChar('|') << QChar('?') << QChar('*');
^
core.cpp: In static member function ‘static QString Core::sanitize(QString)’:
core.cpp:871:34: error: expected primary-expression before ‘(’ token
banned << QChar('/') << QChar('\') << QChar(':') << QChar('<') << QChar('>') << QChar('"') << QChar('|') << QChar('?') << QChar('*');
^
core.cpp:871:50: error: expected ‘)’ before ‘:’ token
banned << QChar('/') << QChar('\') << QChar(':') << QChar('<') << QChar('>') << QChar('"') << QChar('|') << QChar('?') << QChar('*');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment