1 |
Hmmm, gcc 3+ is more standards-compliant. |
2 |
|
3 |
Ex: |
4 |
|
5 |
#include <iostream> |
6 |
|
7 |
int main() { |
8 |
cout << "Hello, World!" << endl; |
9 |
} |
10 |
|
11 |
won't compile (cout and endl not found), although it will |
12 |
with |
13 |
std::cout << "Hello, World!" << std::endl; |
14 |
|
15 |
I also found that netkit-telnetd-0.17 seems to be broken under |
16 |
the latest gcc/glibc. For some reason the older gcc/glibc |
17 |
combination managed to find exit(), memcpy(), and various |
18 |
string functions without <stdlib.h>, <memory.h>, and <string.h> |
19 |
being included. The appropriate patch is certainly simple enough! |
20 |
This could be an adventure. . .. |
21 |
|
22 |
-g2boojum- |
23 |
-- |
24 |
___________________________________________________________________ |
25 |
| Grant Goodyear | The Secrets of Physics: | |
26 |
| Dept. of Chemistry - Clemson U |1. Add zero. | |
27 |
| Clemson, SC 29634 |2. Multiply by one. | |
28 |
|-------------------------------------|3. Expand in a Taylor series| |
29 |
|e-mail: goodyea@×××××××.edu |4. Integrate by parts. | |
30 |
|www:bernacchi.chem.uh.edu/~grant |5. Fourier transform. | |
31 |
| |6. Add auxiliary variables | |
32 |
|_____________________________________|____________________________| |