Hello,<br><br>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.<br><br><div style="margin-left: 40px;">SWITCH_DECLARE(int) globalSetVariable(const char *var, const char *val, const char *val2)<br>
{<br> if (zstr(val)) val = NULL;<br> if (zstr(val2)) val2 = NULL;<br> <br> if (val2) {<br> switch_core_set_var_conditional(var, val, val2);<br> } else {<br> switch_core_set_variable(var, val);<br>
}<br>}<br></div><br>Is it supposed to return a value? Error message: error C4716: 'globalSetVariable' : must return a value<br><br>Regards,<br>-Jingwei<br>