Bug 7790 - CS0241: Default parameter specifiers are not permitted while compiling mono-2.11.4.tar.bz2 on Redhat 6.3 64bit
Summary: CS0241: Default parameter specifiers are not permitted while compiling mono-2...
Status: RESOLVED FIXED
Alias: None
Product: Runtime
Classification: Mono
Component: packaging ()
Version: unspecified
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Marek Safar
URL:
Depends on:
Blocks:
 
Reported: 2012-10-11 05:49 UTC by Hans Gehrts
Modified: 2012-10-11 07:06 UTC (History)
4 users (show)

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

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Hans Gehrts 2012-10-11 05:49:28 UTC
Hi

(I don't know if I choosed the correct 'product' classification while using bugzilla... )

I am trying to compile mono-2.11.4.tar.bz2 on Redhat Enterprise 6.3 64bit. Configure ran through without issues (had to install some tools but after that it was ok).

When I try to compile it, it stopps at this here:

Makefile:43: Warnung: Die Befehle für das Ziel »csproj-local« werden überschrieben
../build/executable.make:149: Warnung: Alte Befehle für das Ziel »csproj-local« werden ignoriert
./../jay/jay -c < ./../jay/skeleton.cs cs-parser.jay > jay-tmp.out && mv jay-tmp.out cs-parser.cs
./../jay/jay: 7 shift/reduce conflicts.
/bin/sh ./../mkinstalldirs ../class/lib/basic/
mkdir -p -- ../class/lib/basic/
touch ../class/lib/basic//.stamp
MCS     [basic] basic.exe
codegen.cs(950,111): error CS0241: Default parameter specifiers are not permitted
support.cs(155,87): error CS0241: Default parameter specifiers are not permitted
Compilation failed: 2 error(s), 0 warnings
make[7]: *** [../class/lib/basic/basic.exe] Fehler 1
make[7]: Leaving directory `/home/gehrts/Downloads/mono-2.11.4/mcs/mcs'
make[6]: *** [do-all] Fehler 2
make[6]: Leaving directory `/home/gehrts/Downloads/mono-2.11.4/mcs/mcs'
make[5]: *** [all-recursive] Fehler 1
make[5]: Leaving directory `/home/gehrts/Downloads/mono-2.11.4/mcs'


The compiler highlights these 2 lines:
codegen.cs(950,111): error CS0241: Default parameter specifiers are not permitted
support.cs(155,87): error CS0241: Default parameter specifiers are not permitted


I have no idea what I have to do with that error - I am not a developer.

Maybe it has to do with this technet entry around error CS0241 here? (found via google):
http://msdn.microsoft.com/en-us/library/294000kk%28v=vs.71%29.aspx

regards,
Hans
Comment 1 Marek Safar 2012-10-11 07:01:31 UTC
You are running too old version of bootstrap compiler. The version should be visible few lines before

MCS     [basic] basic.exe
Comment 2 Marek Safar 2012-10-11 07:06:54 UTC
Bumped the required version in master, so you should get better error message