On Dec 20, 2004, at 15:11, "Jeffrey Altman [Kermit Project]" via RT wrote: > In Windows there are two options for use with the Microsoft compilers: > > __declspec(deprecated) void func1(int) { > }; > > and > > #pragma deprecated( identifier1 [,identifier2, ...] ) > > The pragma form supports the deprecation of function, type, or any > other > identifier. To deprecate a macro symbol, the symbol is placed in > double > quotes. Useful, thanks. I haven't done the experimentation yet, but I've seen some hints on the net that the __declspec form and gcc's __attribute__ form might both be useable in the same position in a declaration, which would let us define a single macro appropriately for either compiler... Ken