compilation error on fs_cli (Windows) (latest version)
Hi, I have compilation error "error C2220" on fs_cli project on Windows using VS2008. FS: latest version (2010/01/26) VS: VS2008 SO: Windows 7 VS2008 Error log: Error 1 error C2220: warning treated as error - no 'object' file generated g:\ftp\incoming\fs\freeswitch-1.0.5-20100126-0400\libs\esl\fs_cli.c 106 fs_cli Warning 2 warning C6385: Invalid data: accessing 'global_profile->console_fnkeys', the readable size is '48' bytes, but '-4' bytes might be read: Lines: 86, 88, 90 g:\ftp\incoming\fs\freeswitch-1.0.5-20100126-0400\libs\esl\fs_cli.c 90 fs_cli Warning 3 warning C6246: Local declaration of 'p' hides declaration of the same name in outer scope. For additional information, see previous declaration at line '844' of 'g:\ftp\incoming\fs\freeswitch-1.0.5-20100126-0400\libs\esl\fs_cli.c': Lines: 844 g:\ftp\incoming\fs\freeswitch-1.0.5-20100126-0400\libs\esl\fs_cli.c 895 fs_cli Warning 4 warning C6011: Dereferencing NULL pointer 'cursor': Lines: 839, 840, 841, 842, 843, 844, 846, 849, 853, 857, 868, 870, 871, 884 g:\ftp\incoming\fs\freeswitch-1.0.5-20100126-0400\libs\esl\fs_cli.c 884 fs_cli Thank you Diego Toro http://lacarretade.blogspot.com/
I dont see this - do a rebuild all. Are there more errors before these?
Date: Tue, 26 Jan 2010 07:55:35 -0800 From: dftoro@yahoo.com To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] compilation error on fs_cli (Windows) (latest version)
Hi, I have compilation error "error C2220" on fs_cli project on Windows using VS2008.
FS: latest version (2010/01/26) VS: VS2008 SO: Windows 7
VS2008 Error log:
Error 1 error C2220: warning treated as error - no 'object' file generated g:\ftp\incoming\fs\freeswitch-1.0.5-20100126-0400\libs\esl\fs_cli.c 106 fs_cli
Warning 2 warning C6385: Invalid data: accessing 'global_profile->console_fnkeys', the readable size is '48' bytes, but '-4' bytes might be read: Lines: 86, 88, 90 g:\ftp\incoming\fs\freeswitch-1.0.5-20100126-0400\libs\esl\fs_cli.c 90 fs_cli
Warning 3 warning C6246: Local declaration of 'p' hides declaration of the same name in outer scope. For additional information, see previous declaration at line '844' of 'g:\ftp\incoming\fs\freeswitch-1.0.5-20100126-0400\libs\esl\fs_cli.c': Lines: 844 g:\ftp\incoming\fs\freeswitch-1.0.5-20100126-0400\libs\esl\fs_cli.c 895 fs_cli
Warning 4 warning C6011: Dereferencing NULL pointer 'cursor': Lines: 839, 840, 841, 842, 843, 844, 846, 849, 853, 857, 868, 870, 871, 884 g:\ftp\incoming\fs\freeswitch-1.0.5-20100126-0400\libs\esl\fs_cli.c 884 fs_cli
Thank you
Diego Toro http://lacarretade.blogspot.com/
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________ Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. http://clk.atdmt.com/GBL/go/196390709/direct/01/
Looks like the code analyzer is running, this is normally turned off when you do a normal build, turn it off and try again. Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene@avgs.ca On 26-Jan-10, at 10:55 AM, Diego Toro wrote:
Hi, I have compilation error "error C2220" on fs_cli project on Windows using VS2008.
FS: latest version (2010/01/26) VS: VS2008 SO: Windows 7
VS2008 Error log:
Error 1 error C2220: warning treated as error - no 'object' file generated g:\ftp\incoming\fs\freeswitch-1.0.5-20100126-0400\libs\esl \fs_cli.c 106 fs_cli
Warning 2 warning C6385: Invalid data: accessing 'global_profile-
console_fnkeys', the readable size is '48' bytes, but '-4' bytes might be read: Lines: 86, 88, 90 g:\ftp\incoming\fs \freeswitch-1.0.5-20100126-0400\libs\esl\fs_cli.c 90 fs_cli
Warning 3 warning C6246: Local declaration of 'p' hides declaration of the same name in outer scope. For additional information, see previous declaration at line '844' of 'g:\ftp\incoming\fs \freeswitch-1.0.5-20100126-0400\libs\esl\fs_cli.c': Lines: 844 g:\ftp \incoming\fs\freeswitch-1.0.5-20100126-0400\libs\esl\fs_cli.c 895 fs_cli
Warning 4 warning C6011: Dereferencing NULL pointer 'cursor': Lines: 839, 840, 841, 842, 843, 844, 846, 849, 853, 857, 868, 870, 871, 884 g:\ftp\incoming\fs\freeswitch-1.0.5-20100126-0400\libs\esl\fs_cli.c 884 fs_cli
Thank you
Diego Toro http://lacarretade.blogspot.com/
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
yes, code analyzer is active. when I turn it off fs_cli project compiled fine. Before, this project compiled fine, why I need turn off analyzer code now ? Thank you Diego Toro http://lacarretade.blogspot.com/ --- On Tue, 1/26/10, Mathieu Rene <mrene_lists@avgs.ca> wrote:
From: Mathieu Rene <mrene_lists@avgs.ca> Subject: Re: [Freeswitch-users] compilation error on fs_cli (Windows) (latest version) To: freeswitch-users@lists.freeswitch.org Date: Tuesday, January 26, 2010, 11:45 AM Looks like the code analyzer is running, this is normally turned off when you do a normal build, turn it off and try again.
Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene@avgs.ca
On 26-Jan-10, at 10:55 AM, Diego Toro wrote:
Hi, I have compilation error "error C2220" on fs_cli project on Windows using VS2008.
FS: latest version (2010/01/26) VS: VS2008 SO: Windows 7
VS2008 Error log:
Error 1 error C2220: warning treated as error - no 'object' file generated g:\ftp\incoming\fs\freeswitch-1.0.5-20100126-0400\libs\esl \fs_cli.c 106 fs_cli
Warning 2 warning C6385: Invalid data: accessing 'global_profile-
console_fnkeys', the readable size is '48' bytes, but '-4' bytes might be read: Lines: 86, 88, 90 g:\ftp\incoming\fs
\freeswitch-1.0.5-20100126-0400\libs\esl\fs_cli.c 90 fs_cli
Warning 3 warning
C6246: Local declaration of 'p' hides declaration
of the same name in outer scope. For additional information, see previous declaration at line '844' of 'g:\ftp\incoming\fs \freeswitch-1.0.5-20100126-0400\libs\esl\fs_cli.c': Lines: 844 g:\ftp
\incoming\fs\freeswitch-1.0.5-20100126-0400\libs\esl\fs_cli.c 895
fs_cli
Warning 4 warning C6011: Dereferencing NULL pointer 'cursor': Lines: 839, 840, 841, 842, 843, 844, 846, 849, 853, 857, 868, 870, 871, 884
g:\ftp\incoming\fs\freeswitch-1.0.5-20100126-0400\libs\esl\fs_cli.c
884 fs_cli
Thank you
Diego Toro http://lacarretade.blogspot.com/
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
These are real issues we need to fix. Please open a bug on jira for these (even better with a patch to fix them). Mie On Jan 26, 2010, at 10:16 PM, Diego Toro wrote:
yes, code analyzer is active. when I turn it off fs_cli project compiled fine. Before, this project compiled fine, why I need turn off analyzer code now ?
Thank you
Diego Toro http://lacarretade.blogspot.com/
--- On Tue, 1/26/10, Mathieu Rene <mrene_lists@avgs.ca> wrote:
From: Mathieu Rene <mrene_lists@avgs.ca> Subject: Re: [Freeswitch-users] compilation error on fs_cli (Windows) (latest version) To: freeswitch-users@lists.freeswitch.org Date: Tuesday, January 26, 2010, 11:45 AM Looks like the code analyzer is running, this is normally turned off when you do a normal build, turn it off and try again.
Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene@avgs.ca
On 26-Jan-10, at 10:55 AM, Diego Toro wrote:
Hi, I have compilation error "error C2220" on fs_cli project on Windows using VS2008.
FS: latest version (2010/01/26) VS: VS2008 SO: Windows 7
VS2008 Error log:
Error 1 error C2220: warning treated as error - no 'object' file generated g:\ftp\incoming\fs\freeswitch-1.0.5-20100126-0400\libs\esl \fs_cli.c 106 fs_cli
Warning 2 warning C6385: Invalid data: accessing 'global_profile-
console_fnkeys', the readable size is '48' bytes, but '-4' bytes might be read: Lines: 86, 88, 90 g:\ftp\incoming\fs
\freeswitch-1.0.5-20100126-0400\libs\esl\fs_cli.c 90 fs_cli
Warning 3 warning
C6246: Local declaration of 'p' hides declaration
of the same name in outer scope. For additional information, see previous declaration at line '844' of 'g:\ftp\incoming\fs \freeswitch-1.0.5-20100126-0400\libs\esl\fs_cli.c': Lines: 844 g:\ftp
\incoming\fs\freeswitch-1.0.5-20100126-0400\libs\esl\fs_cli.c 895
fs_cli
Warning 4 warning C6011: Dereferencing NULL pointer 'cursor': Lines: 839, 840, 841, 842, 843, 844, 846, 849, 853, 857, 868, 870, 871, 884
g:\ftp\incoming\fs\freeswitch-1.0.5-20100126-0400\libs\esl\fs_cli.c
884 fs_cli
participants (4)
-
Diego Toro
-
Jeff Lenk
-
Mathieu Rene
-
Michael Jerris