[Freeswitch-users] FreeSwitchCoreLib compilation error
Peter Olsson
peter.olsson at visionutveckling.se
Wed May 26 07:27:44 PDT 2010
I just reported this on jira (with a patch). FSBUILD-278.
/Peter
Från: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] För Jingwei Yang
Skickat: den 26 maj 2010 16:20
Till: freeswitch-users
Ämne: [Freeswitch-users] FreeSwitchCoreLib compilation error
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
!DSPAM:4bfd2fad32931800758995!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100526/047f873a/attachment.html
More information about the FreeSWITCH-users
mailing list