Anyone knows if/how I can fix this Cppcheck syntax error (no more
information than "syntax error") or if it is a false positive (maybe due to
options used), I looked at template tutorials and documentations and didn't
find any similar usage, the code is:
template<typename t="">template<class archive=""> // Here is the Cppcheck
syntax errorvoid MyItemContainer<t>::serialize(Archive & ar, const
unsigned int version){
// ...}</t></class></typename>
Cppcheck 1.82 (this is the last available version on openSUSE Leap
15), I have successfully build 1.89 version but I cannot run it, with same
parameters as I do with 1.82 version I have "cppcheck: Failed to load
library configuration file 'std.cfg'. File not found" error
Finally I managed to run last cppcheck version, this error is now gone but I have now several "There is an unknown macro here somewhere. Configuration is required. If END_SEQ is a macro then please configure it.", I'll open a new thread for this one.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Anyone knows if/how I can fix this Cppcheck syntax error (no more
information than "syntax error") or if it is a false positive (maybe due to
options used), I looked at template tutorials and documentations and didn't
find any similar usage, the code is:
template<typename t="">template<class archive=""> // Here is the Cppcheck
syntax errorvoid MyItemContainer<t>::serialize(Archive & ar, const
unsigned int version){
// ...}</t></class></typename>
I'm using :
15), I have successfully build 1.89 version but I cannot run it, with same
parameters as I do with 1.82 version I have "cppcheck: Failed to load
library configuration file 'std.cfg'. File not found" error
--platform=unix64 --enable=warning --xml-version=2 --verbose
--error-exitcode=0 --std=c++11 --language=c++
Thanks
https://stackoverflow.com/questions/tagged/linux
Finally I managed to run last cppcheck version, this error is now gone but I have now several "There is an unknown macro here somewhere. Configuration is required. If END_SEQ is a macro then please configure it.", I'll open a new thread for this one.