Return to portability.txt CVS log | Up to [Pegasus] / pegasus / doc |
File: [Pegasus] / pegasus / doc / Attic / portability.txt
(download)
Revision: 1.3, Tue Mar 22 17:39:54 2005 UTC (19 years, 2 months ago) by kumpf Branch: MAIN CVS Tags: TASK-PEP362_RestfulService-merged_out_from_trunk, TASK-PEP348_SCMO-merged_out_from_trunk, TASK-PEP317_pullop-merged_out_from_trunk, TASK-PEP317_pullop-merged_in_to_trunk, TASK-PEP311_WSMan-root, TASK-PEP311_WSMan-branch, RELEASE_2_5_0-RC1, HPUX_TEST, HEAD Changes since 1.2: +0 -0 lines FILE REMOVED BUG#: 3041 TITLE: Remove obsolete doc files DESCRIPTION: Removed obsolete files. The coding conventions are now documented in PEP 221. |
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 |