My solution was to edit the predef/os/bsd.h file and add a recursion guard in the #else block - so, starting at around line 94 my predef/os/bsd.h file now looks like:#ifndef BOOST_PREDEF_OS_BSD_H_PREVENT_RECURSION <-- ADD THIS#define BOOST_PREDEF_OS_BSD_H_PREVENT_RECURSION <-- ADD THIS#include <boost/predef/os/bsd/bsdi.h>#include <boost/predef/os/bsd/dragonfly.h>#include <boost/predef/os/bsd/free.h>#include <boost/predef/os/bsd/open.h>#include <boost/predef/os/bsd/net.h>#endif <-- ADD THIS现在,netbeans代码帮助很高兴,我的代码仍然可以链接和编译而没有错误.And now netbeans code assistance is happy and my code still links and compiles without error. 这篇关于无法解析基于模板的标识符"get". Netbeans 8.1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 09-12 02:36