After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 710475 - (OSX) Cannot compile: "error CS1644: Feature `optional parameter' cannot be used because it is not part of the C# 3.0 language specification"
(OSX) Cannot compile: "error CS1644: Feature `optional parameter' cannot be u...
Status: RESOLVED FIXED
Product: banshee
Classification: Other
Component: general
git master
Other Mac OS
: Normal major
: ---
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-10-18 19:28 UTC by Michael Foster
Modified: 2013-10-18 21:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Full log (44.91 KB, application/octet-stream)
2013-10-18 19:28 UTC, Michael Foster
  Details
Patch (1.78 KB, patch)
2013-10-18 20:36 UTC, Michael Foster
none Details | Review

Description Michael Foster 2013-10-18 19:28:09 UTC
Created attachment 257661 [details]
Full log

I followed the OSX steps at http://banshee.fm/download/development/ (took a very long time and a lot of effort -- unrelated, but I encountered numerous problems with bockbuild).

When I run ./bootstrap-bundle from the latest git revision I get the following:

Making all in Banshee.Osx
  MCS   ../../../bin/Banshee.Osx.dll
./Banshee.Hardware.Osx/LowLevel/OsxDiskArbiter.cs(286,73): error CS1644: Feature `optional parameter' cannot be used because it is not part of the C# 3.0 language specification
Compilation failed: 1 error(s), 0 warnings
make[4]: *** [../../../bin/Banshee.Osx.dll] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Full log attached.
Comment 1 Michael Foster 2013-10-18 20:36:37 UTC
Created attachment 257663 [details] [review]
Patch

This is my quick fix which seems to resolve the issue.
Comment 2 Andrés G. Aragoneses (IRC: knocte) 2013-10-18 21:02:14 UTC
(In reply to comment #1)
> Created an attachment (id=257663) [details] [review]
> Patch
> 
> This is my quick fix which seems to resolve the issue.

I rather pushed a fix with an overload, so we maintain the API compatible to what we had before:

https://git.gnome.org/browse/banshee/commit/?id=b671652e585362d2260735036a76d60096ef8508

Thanks! And congrats for your first contribution!

This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.