help-octave
[Top][All Lists]
Advanced

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

compilation failure on HP-UX


From: steven mestdagh
Subject: compilation failure on HP-UX
Date: Mon, 21 Feb 2005 11:24:35 +0100

hello,

I am getting the following error when trying to compile octave on HP-UX
11.0. This error also occurred in previous versions. Do you have any
suggestions? I am using gcc 3.4.2.

thanks,
steven

...
g++ -c -I/freeware/gcc/include -I. -I.. -I../liboctave -I../src
-I../libcruft/misc  -I../glob -I../glob -DHAVE_CONFIG_H  -Wall -W -Wshadow
-g -O2 Array-b.cc -o Array-b.o
DiagArray2.cc: In member function `T& DiagArray2<T>::xelem(int, int) [with
T = bool]':
Array-b.cc:48:   instantiated from here
DiagArray2.cc:77: warning: sorry: semantics of inline function static data
`bool foo' are wrong (you'll wind up with multiple copies)
DiagArray2.cc:77: warning:   you can work around this by removing the
initializer
DiagArray2.h: In member function `DiagArray2<T>::Proxy::operator T() const
[with T = bool]':
Array-b.cc:48:   instantiated from here
DiagArray2.h:89: warning: sorry: semantics of inline function static data
`bool foo' are wrong (you'll wind up with multiple copies)
DiagArray2.h:89: warning:   you can work around this by removing the
initializer
g++ -c -I/freeware/gcc/include -I. -I.. -I../liboctave -I../src
-I../libcruft/misc  -I../glob -I../glob -DHAVE_CONFIG_H  -Wall -W -Wshadow
-g -O2 Array-ch.cc -o Array-ch.o
DiagArray2.cc: In member function `T& DiagArray2<T>::xelem(int, int) [with
T = char]':
Array-ch.cc:48:   instantiated from here
DiagArray2.cc:77: warning: sorry: semantics of inline function static data
`char foo' are wrong (you'll wind up with multiple copies)
DiagArray2.cc:77: warning:   you can work around this by removing the
initializer
DiagArray2.h: In member function `DiagArray2<T>::Proxy::operator T() const
[with T = char]':
Array-ch.cc:48:   instantiated from here
DiagArray2.cc:77: warning: sorry: semantics of inline function static data
`char foo' are wrong (you'll wind up with multiple copies)
DiagArray2.cc:77: warning:   you can work around this by removing the
initializer
DiagArray2.h: In member function `DiagArray2<T>::Proxy::operator T() const
[with T = char]':
Array-ch.cc:48:   instantiated from here
DiagArray2.h:89: warning: sorry: semantics of inline function static data
`char foo' are wrong (you'll wind up with multiple copies)
DiagArray2.h:89: warning:   you can work around this by removing the
initializer
g++ -c -I/freeware/gcc/include -I. -I.. -I../liboctave -I../src
-I../libcruft/misc  -I../glob -I../glob -DHAVE_CONFIG_H  -Wall -W -Wshadow
-g -O2 Array-i.cc -o Array-i.o
DiagArray2.cc: In member function `T& DiagArray2<T>::xelem(int, int) [with
T = int]':
Array-i.cc:56:   instantiated from here
DiagArray2.cc:77: warning: sorry: semantics of inline function static data
`int foo' are wrong (you'll wind up with multiple copies)
DiagArray2.cc:77: warning:   you can work around this by removing the
initializer
DiagArray2.h: In member function `DiagArray2<T>::Proxy::operator T() const
[with T = int]':
Array-i.cc:56:   instantiated from here
DiagArray2.h:89: warning: sorry: semantics of inline function static data
`int foo' are wrong (you'll wind up with multiple copies)
DiagArray2.h:89: warning:   you can work around this by removing the
initializer

/freeware/gcc/hppa/lib/gcc/hppa2.0w-hp-hpux11.00/3.4.2/as: out of memory
allocating 16 bytes after a total of 67010560 bytes
make[2]: *** [Array-i.o] Error 1
make[2]: Leaving directory
`/tmp_mnt/freeware/octave/src/octave-2.1.65/liboctave'
make[1]: *** [liboctave] Error 2
make[1]: Leaving directory `/tmp_mnt/freeware/octave/src/octave-2.1.65'
make: *** [all] Error 2



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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