26 May
2010
26 May
'10
2:19 p.m.
Hello, I just updated the source code to the latest revision and hit an error when compiling FSComm. It happened in switch_cpp.cpp, at line 1139. SWITCH_DECLARE(int) globalSetVariable(const char *var, const char *val, const char *val2) { if (zstr(val)) val = NULL; if (zstr(val2)) val2 = NULL; if (val2) { switch_core_set_var_conditional(var, val, val2); } else { switch_core_set_variable(var, val); } } Is it supposed to return a value? Error message: error C4716: 'globalSetVariable' : must return a value Regards, -Jingwei