Mercury Bugs - mercury
View Issue Details
0000179mercuryBugpublic2011-01-18 12:432011-01-18 14:54
Assigned Towangp 
PrioritynormalSeverityminorReproducibilityhave not tried
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000179: csharp grade library compilation failure on MinGW / MSYS with MS C# compiler
DescriptionCompilation of the standard library in the csharp grade on MinGW / MSYS using the
Microsoft C# compiler results in:

Mercury\css\array.cs(12,110: errror CS1578: Filename, single-line comment or end-of-line expected
(plus lots more similar messages)

This C# compiler is:

Microsoft (R) Visual C# 2010 Compiler version 4.0.30319.1

TagsNo tags attached.
Attached Files

2011-01-18 12:46   
The problem here is that the filename used in a line directive must be quoted, e.g.

#line 12 "array.m"

and we don't do that.

Issue History
2011-01-18 12:43juliensfNew Issue
2011-01-18 12:46juliensfNote Added: 0000300
2011-01-18 14:54wangpStatusnew => resolved
2011-01-18 14:54wangpResolutionopen => fixed
2011-01-18 14:54wangpAssigned To => wangp