Return to portability.txt CVS log | Up to [Pegasus] / pegasus / doc |
File: [Pegasus] / pegasus / doc / Attic / portability.txt
(download)
Revision: 1.1.2.2, Tue Jul 24 17:46:07 2001 UTC (22 years, 10 months ago) by mike Branch: dev CVS Tags: version_1_01, dev_dead, SNAPSHOT_1_04 Changes since 1.1.2.1: +1 -0 lines new |
1. In .h files the following identifiers must be surrounded by the PEGASUS_STD() macro (which prepends std:: to the argument). ostream istream cout cerr Do not use this macro in .cpp files. Instead put the following at the beginning of the file: PEGASUS_USING_STD; 2. The following does not compile with some compilers. class X { public: static const Uint32 COLOR = 225; }; Use this instead: class X { public: static const Uint32 COLOR; }; And place this in the .cpp file: const Uint32 X::COLOR = 255; Or use enumerated types: class X { public: enum { COLOR = 225 }; }; 3. Explain use of Linkage.h files and linkage directives.
No CVS admin address has been configured |
Powered by ViewCVS 0.9.2 |