Changeset 3a2c0b5 in tol


Ignore:
Timestamp:
May 2, 2014, 9:06:33 AM (12 years ago)
Author:
Jorge Pérez <josp.jorge@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
18d2dcd
Parents:
0ce4348
Message:

Error compilando con GCC 4.3.3

./tol/tol_bpolyn.h: In constructor ‘BPolyn<Any>::BPolyn(Any)’:
./tol/tol_bpolyn.h:55: error: there are no arguments to ‘AllocBuffer’ that depend on a template parameter, so a declaration of ‘AllocBuffer’ must be available
./tol/tol_bpolyn.h:55: error: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
./tol/tol_bpolyn.h:56: error: ‘buffer_’ was not declared in this scope
./tol/tol_bpolyn.h: In constructor ‘BPolyn<Any>::BPolyn(double)’:
./tol/tol_bpolyn.h:61: error: there are no arguments to ‘AllocBuffer’ that depend on a template parameter, so a declaration of ‘AllocBuffer’ must be available
./tol/tol_bpolyn.h:62: error: ‘buffer_’ was not declared in this scope

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@6204 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tol/bmath/mathobjects/tol_bpolyn.h

    r0ce4348 r3a2c0b5  
    5353  : BArray< BMonome<Any> >()
    5454  {
    55     AllocBuffer(1);
    56     buffer_[0].PutCoef(x);
     55    this->AllocBuffer(1);
     56    this->buffer_[0].PutCoef(x);
    5757  }
    5858  BPolyn(double x)
    5959  : BArray< BMonome<Any> >()
    6060  {
    61     AllocBuffer(1);
    62     buffer_[0].PutCoef(x);
     61    this->AllocBuffer(1);
     62    this->buffer_[0].PutCoef(x);
    6363  }
    6464
Note: See TracChangeset for help on using the changeset viewer.