I get:
../include/Utilities.hpp:249:1: error: syntax error: keyword 'try' is not allowed in global scope [syntaxError] try ^
That seems to be a mistake.
https://github.com/acgetchell/CDT-plusplus/blob/develop/include/Utilities.hpp#L248 https://github.com/acgetchell/CDT-plusplus/blob/develop/include/Utilities.hpp#L248
Thanks, Adam -- Adam Getchell https://adamgetchell.org https://adamgetchell.org/
I did not even know you could write code like that at all. Thought function bodys had to be surrounded by { and }
{
}
I have created this ticket: https://trac.cppcheck.net/ticket/9728
Log in to post a comment.
I get:
../include/Utilities.hpp:249:1: error: syntax error: keyword 'try' is not allowed in global scope [syntaxError]
try
^
That seems to be a mistake.
https://github.com/acgetchell/CDT-plusplus/blob/develop/include/Utilities.hpp#L248 https://github.com/acgetchell/CDT-plusplus/blob/develop/include/Utilities.hpp#L248
Thanks,
Adam
--
Adam Getchell
https://adamgetchell.org https://adamgetchell.org/
I did not even know you could write code like that at all. Thought function bodys had to be surrounded by
{
and}
I have created this ticket: https://trac.cppcheck.net/ticket/9728