File: special-considerations.tex

package info (click to toggle)
psicode 3.3.0-3
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 32,284 kB
  • ctags: 12,083
  • sloc: ansic: 218,247; cpp: 35,679; fortran: 10,489; perl: 5,413; sh: 3,881; makefile: 1,874; yacc: 110; lex: 52; csh: 12
file content (22 lines) | stat: -rw-r--r-- 622 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
% 
% PSI Programmer's Manual
%
% Section on special considerations
%
% Created by 
% David Sherrill, 8 January 2003
%
% This section is for special gotchas
%

The following is a list of special items that should be kept in mind
while developing PSI code.

\begin{description}
\item [{\em Malloc() calls on IBM}:] The current IBM compilers (Visual Age
  C/C++ 5) do not properly prototype {\tt malloc()} unless one includes
  {\tt stdlib.h}.  Please make sure that you {\tt \#include <stdlib.h>}
  anytime you call {\tt malloc()} in a file.  If you forget, it will
  still work in gcc but not on an IBM.
\end{description}