syntastic only checks a cpp file with a main function

22 views
Skip to first unread message

aj jonen

unread,
Jan 21, 2015, 10:39:27 AM1/21/15
to vim-sy...@googlegroups.com
It appears that syntastic will not check a .cpp file that does not have a main.  Is there some tricks to get this working fully for c++?
I run a check on the following and nothing happens:

#include "attributeAndValue.h"
attributeAndValue::attributeAndValue(){


}

aj jonen

unread,
Jan 21, 2015, 10:56:50 AM1/21/15
to vim-sy...@googlegroups.com
Actually it is working, but two issues are appearing.
1. it does not appear to handle std::unique_ptr<type>
2. it is not catching syntax errors like an extra semicolon, or an odd forward slash.  Any reccomendations?
It is catching undeclared variables.
Reply all
Reply to author
Forward
0 new messages