search for: _argc

Displaying 2 results from an estimated 2 matches for "_argc".

Did you mean: argc
2008 Dec 21
0
[PATCH] Fix ectest to not check a case which isn't guaranteed to work, and which we don't use.
...t>1); _ft--; - ftb=EC_ILOG(_ft)&-!!_ft; + ftb=EC_ILOG(_ft); if(ftb>EC_UNIT_BITS){ ftb-=EC_UNIT_BITS; ft=(_ft>>ftb)+1; diff --git a/tests/ectest.c b/tests/ectest.c index b3fc220..49d39a1 100644 --- a/tests/ectest.c +++ b/tests/ectest.c @@ -31,7 +31,7 @@ int main(int _argc,char **_argv){ /*Testing encoding of raw bit values.*/ ec_byte_writeinit(&buf); ec_enc_init(&enc,&buf); - for(ft=0;ft<1024;ft++){ + for(ft=2;ft<1024;ft++){ for(i=0;i<ft;i++){ entropy+=log(ft)*M_LOG2E; ec_enc_uint(&enc,i,ft); @@ -59,7 +59,7 @@ i...
2001 Aug 13
1
WineLib Linker Error?
...st/test.spec.c:71: undefined reference to `GetStartupInfoA' /test/test.spec.c:73: undefined reference to `__wine_get_main_args' /test/test.spec.c:74: undefined reference to `ExitProcess' and this is the part of the test.spec.c file that was produced: #include <winbase.h> int _ARGC; char **_ARGV; extern int __stdcall WinMain(HINSTANCE,HINSTANCE,LPSTR,INT); static void __wine_exe_main(void) { extern int __wine_get_main_args( char ***argv ); STARTUPINFOA info; LPSTR cmdline = GetCommandLineA(); while (*cmdline && *cmdline != ' ') cmdline+...