search for: typecase

Displaying 3 results from an estimated 3 matches for "typecase".

Did you mean: typecast
2001 Mar 18
2
char *getusershell();
I experienced a problem compiling openssh_cvs with IRIX 6.5.11f. % cc -version MIPSpro Compilers: Version 7.3.1.2m % cc -n32 -mips3 -O2 -OPT:Olimit=0 ..... -c auth.c cc-1515 cc: ERROR File = auth.c, Line = 100 A value of type "int" cannot be assigned to an entity of type "char *". while ((cp = getusershell()) != NULL) ^ 1 error detected in the
2007 Jul 14
3
Strange C programming problem
...intf ("%f\n", (double) atof (argv[1])); return 0; } Compile it with: cc -O0 -g -o x4 x4.c then run it like this: ./x4 2.5 and I'd EXPECT it to produce this output: 2.5 2.5 2.5 2.5 but it actually produces this: 2.5 1075838976.000000 1075838976.000000 2.500000 the typecase of the arg in the 3 printf calls makes no difference. Remove it and the results are the same. Using an input of something other than 2.5 changes the middle two lines in some way in which I haven't yet discerned a pattern, but the result is still highly bogus. Thanks! -- ---- Fred Smith -- f...
2007 Jun 22
0
[1058] trunk/wxruby2/swig: Move TB_ constants into ToolBar and add the new 2.8 ones.
...Rather than port this class, these methods +// return the integer position of the new tool in wxRuby. Hence, all +// access to ToolBar changing methods is via Wx::ToolBar. </ins><span class="cx"> %typemap(out) wxToolBarToolBase* { </span><ins>+ // arg1 here is the typecase C++ self; $1 is the new ToolBarToolBase </ins><span class="cx"> int pos_of_tool = arg1->GetToolPos($1->GetId()); </span><span class="cx"> $result = INT2NUM(pos_of_tool); </span><span class="cx"> } </span></span>...