octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #48335] sparsersb package fails to compile in


From: John Donoghue
Subject: [Octave-bug-tracker] [bug #48335] sparsersb package fails to compile in dev octave
Date: Mon, 8 Aug 2016 13:58:50 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0 Safari/537.36 Edge/13.10586

Follow-up Comment #9, bug #48335 (project octave):

With your patch applied patch I get the following:



sparsersb.cc: In function 'octave_base_value*
default_numeric_conversion_function(const octave_base_value&)':
sparsersb.cc:1277:23: error: expected primary-expression before 'const'
  RSBOI_CAST_CONV_ARG (const octave_sparsersb_mtx&);
                       ^
sparsersb.cc:1277:50: error: 'CAST_CONV_ARG' was not declared in this scope
  RSBOI_CAST_CONV_ARG (const octave_sparsersb_mtx&);
                                                  ^
sparsersb.cc:1280:5: error: 'v' was not declared in this scope
  if(v.is_real_type())
     ^
sparsersb.cc: In function 'octave_base_value*
oct_conv_octave_triangular_conv(const octave_base_value&)':
sparsersb.cc:1295:23: error: expected primary-expression before 'const'
  RSBOI_CAST_CONV_ARG (const octave_sparsersb_mtx&);
                       ^
sparsersb.cc:1295:50: error: 'CAST_CONV_ARG' was not declared in this scope
  RSBOI_CAST_CONV_ARG (const octave_sparsersb_mtx&);
                                                  ^
sparsersb.cc:1296:35: error: 'v' was not declared in this scope
  return new octave_sparse_matrix (v.matrix_value ());
                                   ^
sparsersb.cc: In function 'octave_value oct_unop_uplus(const
octave_base_value&)':
sparsersb.cc:1313:23: error: expected primary-expression before 'const'
  RSBOI_CAST_UNOP_ARG (const octave_sparsersb_mtx&);
                       ^
sparsersb.cc:1313:50: error: 'CAST_UNOP_ARG' was not declared in this scope
  RSBOI_CAST_UNOP_ARG (const octave_sparsersb_mtx&);
                                                  ^
sparsersb.cc:1314:35: error: 'v' was not declared in this scope
  return new octave_sparsersb_mtx (v);
sparsersb.cc: In function 'octave_value oct_unop_uminus(const
octave_base_value&)':
sparsersb.cc:1351:23: error: expected primary-expression before 'const'
  RSBOI_CAST_UNOP_ARG (const octave_sparsersb_mtx&);
                       ^
sparsersb.cc:1351:50: error: 'CAST_UNOP_ARG' was not declared in this scope
  RSBOI_CAST_UNOP_ARG (const octave_sparsersb_mtx&);
                                                  ^
sparsersb.cc:1352:9: error: 'v' was not declared in this scope
  return v.cp_ubop(RSB_ELOPF_NEG);
         ^
sparsersb.cc: In function 'octave_value oct_unop_transpose(const
octave_base_value&)':
sparsersb.cc:1358:23: error: expected primary-expression before 'const'
  RSBOI_CAST_UNOP_ARG (const octave_sparsersb_mtx&);
                       ^
sparsersb.cc:1358:50: error: 'CAST_UNOP_ARG' was not declared in this scope
  RSBOI_CAST_UNOP_ARG (const octave_sparsersb_mtx&);
                                                  ^
sparsersb.cc:1359:9: error: 'v' was not declared in this scope
  return v.rsboi_get_scaled_copy(rsboi_pone[0],RSB_TRANSPOSITION_T);
         ^
sparsersb.cc: In function 'octave_value oct_unop_htranspose(const
octave_base_value&)':
sparsersb.cc:1365:23: error: expected primary-expression before 'const'
  RSBOI_CAST_UNOP_ARG (const octave_sparsersb_mtx&);
                       ^
sparsersb.cc:1365:50: error: 'CAST_UNOP_ARG' was not declared in this scope
  RSBOI_CAST_UNOP_ARG (const octave_sparsersb_mtx&);
                                                  ^
sparsersb.cc:1366:9: error: 'v' was not declared in this scope
  return v.rsboi_get_scaled_copy(rsboi_pone[0],RSB_TRANSPOSITION_C);
         ^
sparsersb.cc: In function 'octave_value oct_binop_ldiv(const
octave_base_value&, const octave_base_value&)':
sparsersb.cc:1475:23: error: expected primary-expression before 'const'
  RSB_CAST_BINOP_ARGS (const octave_sparsersb_mtx&, const octave_matrix&);
                       ^
sparsersb.cc:1475:52: error: expected primary-expression before 'const'
  RSB_CAST_BINOP_ARGS (const octave_sparsersb_mtx&, const octave_matrix&);
                                                    ^
sparsersb.cc:1475:72: error: 'CAST_BINOP_ARGS' was not declared in this scope
  RSB_CAST_BINOP_ARGS (const octave_sparsersb_mtx&, const octave_matrix&);
                                                                        ^
sparsersb.cc:1477:5: error: 'v1' was not declared in this scope
  if(v1.is__triangular()) 
     ^
sparsersb.cc:1478:24: error: 'v2' was not declared in this scope
   return rsboi_spsm(v1,v2,RSB_TRANSPOSITION_N);

sparsersb.cc:1480:5: error: 'v1' was not declared in this scope
  if(v1.is_complex_type() || v2.is_complex_type())
     ^
sparsersb.cc:1480:29: error: 'v2' was not declared in this scope
  if(v1.is_complex_type() || v2.is_complex_type())
                             ^
sparsersb.cc: In function 'octave_value oct_binop_trans_ldiv(const
octave_base_value&, const octave_base_value&)':
sparsersb.cc:1490:23: error: expected primary-expression before 'const'
  RSB_CAST_BINOP_ARGS (const octave_sparsersb_mtx&, const octave_matrix&);
                       ^
sparsersb.cc:1490:52: error: expected primary-expression before 'const'
  RSB_CAST_BINOP_ARGS (const octave_sparsersb_mtx&, const octave_matrix&);
                                                    ^
sparsersb.cc:1490:72: error: 'CAST_BINOP_ARGS' was not declared in this scope
  RSB_CAST_BINOP_ARGS (const octave_sparsersb_mtx&, const octave_matrix&);
                                                                        ^
sparsersb.cc:1492:5: error: 'v1' was not declared in this scope
  if(v1.is__triangular()) 
     ^
sparsersb.cc:1493:24: error: 'v2' was not declared in this scope
   return rsboi_spsm(v1,v2,RSB_TRANSPOSITION_T);
                        ^
sparsersb.cc:1495:5: error: 'v1' was not declared in this scope
  if(v1.is_complex_type() || v2.is_complex_type())
     ^
sparsersb.cc:1495:29: error: 'v2' was not declared in this scope
  if(v1.is_complex_type() || v2.is_complex_type())
                             ^
sparsersb.cc: In function 'octave_value oct_binop_c_ldiv(const
octave_base_value&, const octave_base_value&)':
sparsersb.cc:1506:23: error: expected primary-expression before 'const'
  RSB_CAST_BINOP_ARGS (const octave_sparsersb_mtx&, const
octave_complex_matrix&);
                       ^
sparsersb.cc:1506:52: error: expected primary-expression before 'const'
  RSB_CAST_BINOP_ARGS (const octave_sparsersb_mtx&, const
octave_complex_matrix&);
                                                    ^
sparsersb.cc:1506:80: error: 'CAST_BINOP_ARGS' was not declared in this scope
  RSB_CAST_BINOP_ARGS (const octave_sparsersb_mtx&, const
octave_complex_matrix&);
                                                                              
 ^
sparsersb.cc:1508:5: error: 'v1' was not declared in this scope
  if(v1.is__triangular()) 
     ^
sparsersb.cc:1509:24: error: 'v2' was not declared in this scope
   return rsboi_spsm(v1,v2,RSB_TRANSPOSITION_N);
                        ^
sparsersb.cc:1511:5: error: 'v1' was not declared in this scope
  if(v1.is_complex_type() || v2.is_complex_type())
     ^
sparsersb.cc:1511:29: error: 'v2' was not declared in this scope
  if(v1.is_complex_type() || v2.is_complex_type())
                             ^
sparsersb.cc: In function 'octave_value oct_binop_trans_c_ldiv(const
octave_base_value&, const octave_base_value&)':
sparsersb.cc:1521:23: error: expected primary-expression before 'const'
  RSB_CAST_BINOP_ARGS (const octave_sparsersb_mtx&, const
octave_complex_matrix&);
                       ^
sparsersb.cc:1521:52: error: expected primary-expression before 'const'
  RSB_CAST_BINOP_ARGS (const octave_sparsersb_mtx&, const
octave_complex_matrix&);
                                                    ^
sparsersb.cc:1521:80: error: 'CAST_BINOP_ARGS' was not declared in this scope
  RSB_CAST_BINOP_ARGS (const octave_sparsersb_mtx&, const
octave_complex_matrix&);
                                                                              
 ^
sparsersb.cc:1522:5: error: 'v1' was not declared in this scope
  if(v1.is__triangular()) 
     ^
sparsersb.cc:1523:24: error: 'v2' was not declared in this scope
   return rsboi_spsm(v1,v2,RSB_TRANSPOSITION_T);
                        ^
sparsersb.cc:1525:5: error: 'v1' was not declared in this scope
  if(v1.is_complex_type() || v2.is_complex_type())
     ^
sparsersb.cc:1525:29: error: 'v2' was not declared in this scope
  if(v1.is_complex_type() || v2.is_complex_type())
                             ^
sparsersb.cc: In function 'octave_value oct_binop_rsb_c_div(const
octave_base_value&, const octave_base_value&)':
sparsersb.cc:1560:23: error: expected primary-expression before 'const'
  RSB_CAST_BINOP_ARGS (const octave_sparsersb_mtx &, const octave_complex&);
                       ^
sparsersb.cc:1560:53: error: expected primary-expression before 'const'
  RSB_CAST_BINOP_ARGS (const octave_sparsersb_mtx &, const octave_complex&);
                                                     ^
sparsersb.cc:1560:74: error: 'CAST_BINOP_ARGS' was not declared in this scope
  RSB_CAST_BINOP_ARGS (const octave_sparsersb_mtx &, const octave_complex&);
                                                                          ^
sparsersb.cc:1562:9: error: 'v1' was not declared in this scope
  return v1.rsboi_get_scaled_copy_inv(v2.complex_value());
         ^
sparsersb.cc:1562:38: error: 'v2' was not declared in this scope
  return v1.rsboi_get_scaled_copy_inv(v2.complex_value());
                                      ^
sparsersb.cc: In function 'octave_value oct_binop_rsb_s_div(const
octave_base_value&, const octave_base_value&)':
sparsersb.cc:1568:23: error: expected primary-expression before 'const'
  RSB_CAST_BINOP_ARGS (const octave_sparsersb_mtx &, const octave_scalar&);
                       ^
sparsersb.cc:1568:53: error: expected primary-expression before 'const'
  RSB_CAST_BINOP_ARGS (const octave_sparsersb_mtx &, const octave_scalar&);
                                                     ^
sparsersb.cc:1568:73: error: 'CAST_BINOP_ARGS' was not declared in this scope
  RSB_CAST_BINOP_ARGS (const octave_sparsersb_mtx &, const octave_scalar&);
                                                                         ^
sparsersb.cc:1570:9: error: 'v1' was not declared in this scope
  return v1.rsboi_get_scaled_copy_inv(v2.scalar_value());
         ^
sparsersb.cc:1570:38: error: 'v2' was not declared in this scope
  return v1.rsboi_get_scaled_copy_inv(v2.scalar_value());
                                      ^
sparsersb.cc: In function 'octave_value oct_binop_rsb_s_mul(const
octave_base_value&, const octave_base_value&)':
sparsersb.cc:1575:23: error: expected primary-expression before 'const'
  RSB_CAST_BINOP_ARGS (const octave_sparsersb_mtx &, const octave_scalar&);
                       ^
sparsersb.cc:1575:53: error: expected primary-expression before 'const'
  RSB_CAST_BINOP_ARGS (const octave_sparsersb_mtx &, const octave_scalar&);
                                                     ^
sparsersb.cc:1575:73: error: 'CAST_BINOP_ARGS' was not declared in this scope
  RSB_CAST_BINOP_ARGS (const octave_sparsersb_mtx &, const octave_scalar&);
                                                                         ^
sparsersb.cc:1577:9: error: 'v1' was not declared in this scope
  return v1.rsboi_get_scaled_copy(v2.scalar_value());
         ^
sparsersb.cc:1577:34: error: 'v2' was not declared in this scope
  return v1.rsboi_get_scaled_copy(v2.scalar_value());
                                  ^
sparsersb.cc: In function 'octave_value oct_binop_rsb_c_mul(const
octave_base_value&, const octave_base_value&)':
sparsersb.cc:1583:23: error: expected primary-expression before 'const'
  RSB_CAST_BINOP_ARGS (const octave_sparsersb_mtx &, const octave_complex&);
                       ^
sparsersb.cc:1583:53: error: expected primary-expression before 'const'
  RSB_CAST_BINOP_ARGS (const octave_sparsersb_mtx &, const octave_complex&);
                                                     ^
sparsersb.cc:1583:74: error: 'CAST_BINOP_ARGS' was not declared in this scope
  RSB_CAST_BINOP_ARGS (const octave_sparsersb_mtx &, const octave_complex&);
                                                                          ^
sparsersb.cc:1585:9: error: 'v1' was not declared in this scope
  return v1.rsboi_get_scaled_copy(v2.complex_value());
         ^
sparsersb.cc:1585:34: error: 'v2' was not declared in this scope
  return v1.rsboi_get_scaled_copy(v2.complex_value());
.
.
.
.






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?48335>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]