tjko / nxgipd

nxgipd - a monitoring daemon for UTC Interlogix / GE Security / Caddx NetworX series alarm systems
GNU General Public License v2.0
39 stars 19 forks source link

MSVC 2010 x64 compile error C4431 #26

Open zlifes opened 6 months ago

zlifes commented 6 months ago

The bool type is not supported, e.g. typedef bool (mxml_custom_load_cb_t)(mxml_node_t , const char *);

tjko commented 6 months ago

Sounds like that compiler is not C99 compliant (?). I would expect there is going to be some porting effort needed to get nxgipd to compile/work under Windows. It's was written/tested on Linux/Unix systems (mainly Linux and OpenBSD).

Compiling it under Cygwin might be easiest path get it work on Windows.

zlifes commented 6 months ago

MSVC 2010 does not support the bool type. Function definitions can use the int type, such as typedef int (mxml_custom_load_cb_t)(mxml_node_t , const char *)