Changeset 575cbd4e53566d3e6c12dc75fd867a6bf10307c3
Commiter: Nikos Chantziaras
Author: Nikos Chantziaras
Parent: 4063bbd568
(2009/08/24 22:32) Over 2 years ago
Apply upstream-accepted patches, fixing ANSI-correctness With GCC's "-ansi -pedantic" switches, this warning is issued a lot: warning: overflow in implicit constant conversion due to signed 1-bit bitfields being assigned the value 1 (TRUE) while they actually can only hold -1 and 0. Making all those bitfields unsigned fixes the issue.
unsigned int is_const_ : 1;* flag: we are explicitly defined with the root object ('object') as* flag: we are explicitly defined with the root object ('object') asunsigned int sc_is_root_ : 1;unsigned int varargs_ : 1;unsigned int has_retval_ : 1;unsigned int referenced_ : 1;unsigned int has_own_scope_ : 1;unsigned int has_own_scope_ : 1;unsigned int has_own_scope_ : 1;unsigned int is_class_ : 1;unsigned int replaced_ : 1;unsigned int modified_ : 1;unsigned int transient_ : 1;unsigned int bad_template_ : 1;unsigned int undesc_sc_ : 1;unsigned int all_once_ : 1;unsigned int warn_on_ignore_incl_ : 1;unsigned int pp_only_mode_ : 1;unsigned int test_report_mode_ : 1;unsigned int list_includes_mode_ : 1;unsigned int string_newline_spacing_ : 1;unsigned int in_pp_expr_ : 1;unsigned int log_enabled_ : 1;unsigned int in_debugger_ : 1;unsigned int single_step_ : 1;unsigned int step_in_ : 1 ;unsigned int step_out_ : 1;unsigned int step_over_bp_ : 1;unsigned int orig_single_step_ : 1;unsigned int orig_step_in_ : 1;unsigned int orig_step_out_ : 1;unsigned int program_inited_ : 1;unsigned int dbg_ptr_valid_ : 1;CVmObject *get_vm_obj() const { return (CVmObject *)ptr_.obj_; }CVmObject *get_vm_obj() const { return (CVmObject *)ptr_.obj_; }unsigned int free_ : 1;unsigned int in_root_set_ : 1;unsigned int case_sensitive : 1;unsigned int longest_match : 1;unsigned int first_begin : 1;