Bug 15511 - False Compiler errors
Summary: False Compiler errors
Alias: None
Product: Compilers
Classification: Mono
Component: C# (show other bugs)
Version: 3.2.x
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Marek Safar
Depends on:
Reported: 2013-10-19 08:25 UTC by S. Ritter
Modified: 2013-10-29 14:22 UTC (History)
2 users (show)

See Also:
Is this bug a regression?: ---
Last known good build:

Full log results (228.39 KB, text/plain)
2013-10-19 20:08 UTC, S. Ritter
Filtered compiler log (29.77 KB, text/plain)
2013-10-19 20:09 UTC, S. Ritter

Description S. Ritter 2013-10-19 08:25:05 UTC
Description of Problem:
No Compiling of JavApi Core system since (?) last update to version 4.0.13b38 
Compiling tells wrong processor directive for single C# classes - but no preprocessor using.

Steps to reproduce the problem:
1. Take project from https://github.com/RealBastie/JavApi or https://java.net/projects/javapi
2. Compile (CMD+B)

Actual Results:
compile process failed (wrong processor directive)

Expected Results:
fine build

How often does this happen? 

Additional Information:
Comment 1 Mikayla Hutchinson [MSFT] 2013-10-19 19:21:10 UTC
Please provide the actual error.
Comment 2 S. Ritter 2013-10-19 20:08:02 UTC
Created attachment 5182 [details]
Full log results
Comment 3 S. Ritter 2013-10-19 20:09:15 UTC
Created attachment 5183 [details]
Filtered compiler log

cat test.log | grep -v "CS1570" | grep -v "CS1572" | grep -v "CS1574" | grep -v "CS0108" | grep -v "CS0612" | grep -v "CS1587" | grep -v "CS0114" | grep -v "CS0672" | grep -v "CS1584"
Comment 4 S. Ritter 2013-10-19 20:10:30 UTC
See attachments
Comment 5 Mikayla Hutchinson [MSFT] 2013-10-21 09:49:21 UTC
Comment 6 S. Ritter 2013-10-28 14:11:17 UTC
It is a showstopper - how can I help? When comes BugFix? What can I do?
Comment 7 S. Ritter 2013-10-28 14:39:13 UTC
I used the time to working on quality of project and think I have locate the compiler problem:

If I remove the line:
        /// <see cref="#addShutdownHook"/>
the compiler works 

... with other errors :(
Comment 8 Marek Safar 2013-10-29 14:22:58 UTC
Fixed in master

Note You need to log in before you can comment on or make changes to this bug.