Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 262892
Collapse All | Expand All

(-)b/ChangeLog (+6 lines)
Lines 1-3 Link Here
1
2008-10-10  Jaroslav Hajek  <highegg@gmail.com>
2
3
	* sparse-util.h (SparseCholPrint): Change char * argument to const
4
	char *.
5
	* sparse-util.cc (SparseCholPrint): Likewise.
6
1
2008-09-24  Jaroslav Hajek  <highegg@gmail.com>
7
2008-09-24  Jaroslav Hajek  <highegg@gmail.com>
2
8
3
	Version 3.0.3 released.
9
	Version 3.0.3 released.
(-)b/liboctave/sparse-util.cc (+7 lines)
Lines 30-38 Link Here
30
#include "lo-error.h"
30
#include "lo-error.h"
31
#include "sparse-util.h"
31
#include "sparse-util.h"
32
32
33
// FIXME this overload is here due to API change in SuiteSparse (3.1 -> 3.2)
33
void
34
void
34
SparseCholError (int status, char *file, int line, char *message)
35
SparseCholError (int status, char *file, int line, char *message)
35
{
36
{
37
  SparseCholError (status, file, line, message);
38
}
39
40
void
41
SparseCholError (int status, const char *file, int line, const char *message)
42
{
36
  (*current_liboctave_warning_handler)("warning %i, at line %i in file %s",
43
  (*current_liboctave_warning_handler)("warning %i, at line %i in file %s",
37
				     status, line, file);
44
				     status, line, file);
38
45
(-)b/liboctave/sparse-util.h (-1 / +5 lines)
Lines 24-30 Link Here
24
#if !defined (octave_sparse_util_h)
24
#if !defined (octave_sparse_util_h)
25
#define octave_sparse_util_h 1
25
#define octave_sparse_util_h 1
26
26
27
extern OCTAVE_API void SparseCholError (int status, char *file, int line, char *message);
27
// FIXME this overload is here due to API change in SuiteSparse (3.1 -> 3.2)
28
extern OCTAVE_API void SparseCholError (int status, char *file, 
29
                                        int line, char *message);
30
extern OCTAVE_API void SparseCholError (int status, const char *file, 
31
                                        int line, const char *message);
28
extern OCTAVE_API int SparseCholPrint (const char *fmt, ...);
32
extern OCTAVE_API int SparseCholPrint (const char *fmt, ...);
29
33
30
#endif
34
#endif

Return to bug 262892