On 1/6/2012 11:45 AM, Paul S. Person wrote:
> On Fri, 06 Jan 2012 15:51:05 +0100, Uwe Schmelich<
p5l...@snafu.de>
> wrote:
>
>> Lynn McGuire wrote:
>>
>>> Why does this code compile cleanly in the wpp386 compiler
>>>
>>> #pragma aux my_common_prag "^";
>>> int __pragma ("my_common_prag") config_testmode;
>>>
>>> and not in the wcc386 compiler ?
>>>
>>> Thanks,
>>> Lynn
>>
>> Perhaps because in the "Open Watcom 1.9 C/C++ User's Guide Help" under "OW
>> C/C++ Extended Keywords" for __pragma we read "OW C++ supports .." instead
>> of "OW C/C++ supports .." like for most other __-keywords.
>> So maybe it's not implemented for C. Don't know the reason why not.
>
> Since it involves inlining, perhaps it was not added to C when
> inlining was added.