Changeset bc2606 in git


Ignore:
Timestamp:
Nov 29, 2012, 11:02:11 PM (11 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'd1b01e9d51ade4b46b745d3bada5c5f3696be3a8')
Children:
ca5cfe83988bd636394cc6b49509717ad3b17700
Parents:
e17f69c6be6204d38b721577676eee640f77d78c
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-11-29 23:02:11+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-11-29 23:08:27+01:00
Message:
Compiler warnings elimination
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • Singular/countedref.cc

    re17f69 rbc2606  
    555555  CountedRefShared ref = CountedRefShared::cast(head);
    556556
    557   if ((op == LINK_CMD) )
     557  if (op == LINK_CMD)
    558558  {
    559559    if (ref.dereference(head)) return TRUE;
  • Singular/countedref.h

    re17f69 rbc2606  
    312312  /// @name Pointer-style access
    313313  //@{
    314   const leftv operator->() const { return m_data;  }
     314  /*const*/ leftv operator->() const { return m_data;  }
     315  /*^ warning: 'const' type qualifier on return type has no effect!!! */
    315316  leftv operator->() { return m_data;  }
    316317  //@]
  • dyn_modules/bigintm/bigintm.cc

    re17f69 rbc2606  
    231231      }
    232232
    233       Werror("bigintm_Op2: Op: '==': Sorry unsupported 2nd argument-type: '%d' in", Tok2Cmdname(a2->Typ()));
     233      Werror("bigintm_Op2: Op: '==': Sorry unsupported 2nd argument-type: '%s' in", Tok2Cmdname(a2->Typ()));
    234234      WrongOp("bigintm_Op2", op, a1);
    235235      return TRUE;
  • kernel/fglmvec.cc

    re17f69 rbc2606  
    133133    return elems[i - 1];
    134134  }
    135   const number getconstelem (int i) const
     135  number getconstelem (int i) const
    136136  {
    137137    fglmASSERT (0 < i && i <= N, "getconstelem: wrong index");
     
    440440}
    441441
    442 const number fglmVector::getconstelem (int i) const
     442number fglmVector::getconstelem (int i) const
    443443{
    444444  return rep->getconstelem (i);
  • kernel/fglmvec.h

    re17f69 rbc2606  
    5454    friend fglmVector operator * ( const number n, const fglmVector & v );
    5555
    56     const number getconstelem( int i ) const;
     56    number getconstelem( int i ) const;
    5757    number & getelem( int i );
    5858    void setelem( int i, number & n );
  • kernel/tgbgauss.h

    re17f69 rbc2606  
    1212//#include "tgb_internal.h"
    1313
    14 struct slimgb_alg;
     14class slimgb_alg;
    1515
    1616class tgb_matrix{
  • libpolys/polys/nc/summator.cc

    re17f69 rbc2606  
    3333
    3434CPolynomialSummator::CPolynomialSummator(const ring& rBaseRing, bool bUsePolynomial):
    35     m_bUsePolynomial(bUsePolynomial), m_basering(rBaseRing)
     35    m_basering(rBaseRing), m_bUsePolynomial(bUsePolynomial)
    3636{
    3737#ifdef RDEBUG
     
    183183
    184184
    185 CPolynomialSummator::CPolynomialSummator(const CPolynomialSummator& b): m_bUsePolynomial(b.m_bUsePolynomial), m_basering(b.m_basering)
     185CPolynomialSummator::CPolynomialSummator(const CPolynomialSummator& b):
     186    m_basering(b.m_basering), m_bUsePolynomial(b.m_bUsePolynomial)
    186187{
    187188//  try{
  • numeric/mpr_base.cc

    re17f69 rbc2606  
    19281928//-> dense resultant matrix
    19291929//
    1930 class resVector;
     1930struct resVector;
    19311931
    19321932/* dense resultant matrix */
Note: See TracChangeset for help on using the changeset viewer.