📄 gcc.html
字号:
<HTML><HEAD><TITLE>Newmat09 - Gnu G++</TITLE></HEAD><BODY><H2>Gnu G++</H2><A HREF="hpux.html"> next</A> - <A HREF="hpux.html"> skip</A> - <A HREF="compiler.html"> up</A> - <A HREF="index.html"> start</A><P><B>Gnu G++ 2.6.0, 2.7.2:</B> These work OK.<P>If you are using 2.7.2 remember to edit include.h to deactivate my Booleanclass.<P>For versions earlier than 2.6.0you must enable the options TEMPS_DESTROYED_QUICKLY andTEMPS_DESTROYED_QUICKLY_R.You can't use expressionslike <TT>Matrix(X*Y)</TT> in the middle of an expression and<TT>(Matrix)(X*Y)</TT> isunreliable. If you write a function returning a matrix, you MUST use the<A HREF="memory.html">ReturnMatrix</A> method described in this documentation.This is because g++destroys temporaries occurring in an expression too soon for the twostage way of evaluating expressions that newmat uses. You will haveproblems with versions of Gnuearlier than 2.3.1.<P>Gnu seems toleave some rubbish on the stack. Possibly this is a buffer ordynamically loaded subprogram so may not be a bug.<P><B>Linux:</B> It worksfine on my copy of G++ 2.7.2. In 2.6.?, <TT>fabs(*X++)</TT> causes aproblem. You may need to write you own non-inlined version.<P></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -