1 mike 1.1
2
3 1. In .h files the following identifiers must be surrounded by
4 the PEGASUS_STD() macro (which prepends std:: to the argument).
5
6 ostream
7 istream
8 cout
9 cerr
10
11 Do not use this macro in .cpp files. Instead put the following
12 at the beginning of the file:
13
14 PEGASUS_USING_STD
15
16 2. The following does not compile with some compilers.
17
18 class X
19 {
20 public:
21
22 mike 1.1 static const Uint32 COLOR = 225;
23 };
24
25 Use this instead:
26
27 class X
28 {
29 public:
30
31 static const Uint32 COLOR;
32 };
33
34 Change to this:
35
36 class X
37 {
38 public:
39
40 static const Uint32 COLOR;
41 };
42
43 mike 1.1 And place this in the .cpp file:
44
45 const Uint32 X::COLOR = 255;
46
47 Or use enumerated type:
48
49 class X
50 {
51 public:
52
53 enum { COLOR = 225 };
54 };
55
|