[Freeswitch-users] FreeSwitchCoreLib compilation error
Jingwei Yang
jingwei.yang at gmail.com
Wed May 26 07:19:45 PDT 2010
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100526/25739a24/attachment.html
More information about the FreeSWITCH-users
mailing list