During development, it is desirable that a language server (such as clangd) can type-check each file on its own. This also makes it easier to debug compile-time errors and enables the jump-to-definition feature.
Regarding the following line in src/cal/adapter.h:
#include <sstream> // missing in `calObj.hh`
sstream is included by calObj.hh as of the latest commit in the CAL repo, but not in the version we currently use here.
Thanks! I took this as the motivating opportunity to properly clean up these files. I'll get the cal/update branch rebased and merged to fix the sstream issue.
During development, it is desirable that a language server (such as clangd) can type-check each file on its own. This also makes it easier to debug compile-time errors and enables the jump-to-definition feature.
Regarding the following line in
src/cal/adapter.h
:sstream
is included bycalObj.hh
as of the latest commit in the CAL repo, but not in the version we currently use here.