[Mono-dev] mcs patch for preprocessor directive
Atsushi Eno
atsushi at ximian.com
Mon Aug 29 08:10:53 EDT 2005
> Here is a patch that contains some preprocessor fixes:
>
> - It didn't report expected location (tiny fix).
> - When -langversion:ISO-1 is specified, #pragma directive
> is always checked, even when it is actually disabled
> by #if directive. (Because of this bug, currently
> mscorlib cannot be compiled with csc.)
Oops, I must be saying something wierd ... it is irrelevant to the
build breakage. Here is another one item to be mentioned:
- Even inside a disabled block, the name of a directive
should be checked and be reported as an error if it
is wrong.
Thus csc 1.x reports an error at #pragma line inSystem/ConsoleKey.cs
and mcs will become the same. So I should have attached the patch to
fix this.
... Yes it brings back CS3005, but I don't think there would be
another way :|
Atsushi Eno
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pragma-no-thanks.patch
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050829/79cc2be1/attachment.pl
More information about the Mono-devel-list
mailing list