André, thes have almost dissappeared. Attached are the few remaining ones.
I haven't fixed them, myself because I don't know what the correct fix is!

My understanding of the code leads me to the following tentative suggestions:

math_hullinset.C, line 206:
I think that MathDimInset::width_ really should be an int (as it is), in 
which case the fix to the warning in math_hullinset.C is just:
        width_   = int(normalName(objtype_).size());

cxx: Info: math_nestinset.C, line 58: 
I think that MathMetricsInfo::idx should be of type idx_type, in which case 
the warning dissapears.

cxx: Info: math_xyarrowinset.C, line 51:
-       int n = mi_.idx + p->ncols() * y + x;
+       idx_type n = mi_.idx + p->ncols() * y + x;

In math_symbolinset.C you 
* pass an unsigned int to mathed_char_dim where it expects an unsigned char.
* pass unsigned ints to drawChar when it expects a char.
No idea what you really want here!

Angus


cxx: Info: math_hullinset.C, line 206: #1136-D conversion to integral type of
          smaller size could lose data
        width_   = normalName(objtype_).size();
-----------------^
cxx: Info: math_nestinset.C, line 58: #1136-D conversion to integral type of
          smaller size could lose data
                m.idx = i;
----------------------^
cxx: Info: math_spaceinset.C, line 76: #1136-D conversion to integral type of
          smaller size could lose data
        os << "[space " << space_ << "] ";
---------------------------^
cxx: Info: math_symbolinset.C, line 78: #1136-D conversion to integral type of
          smaller size could lose data
                mathed_char_dim(c, mi_, sym_->latex_font_id, ascent_, descent_, 
width_);
----------------------------------------^
cxx: Info: math_symbolinset.C, line 86: #1136-D conversion to integral type of
          smaller size could lose data
                        mathed_char_dim(code2(), mi_, sym_->id, ascent_, descent_, 
width_);
------------------------------------------------------^
cxx: Info: math_symbolinset.C, line 101: #1136-D conversion to integral type
          of smaller size could lose data
                drawChar(pain, Code, mi_, x, y - h_, sym_->latex_font_id);
-----------------------------------------------------^
cxx: Info: math_symbolinset.C, line 103: #1136-D conversion to integral type
          of smaller size could lose data
                drawChar(pain, code2(), mi_, x, y, sym_->id);
---------------------------------------------------^
cxx: Info: math_xyarrowinset.C, line 51: #1136-D conversion to integral type
          of smaller size could lose data
        int n = mi_.idx + p->ncols() * y + x;
----------------^

Reply via email to