SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

F# error compiling from source (build ~ 3063)

Last post 05-11-2008 3:31 PM by Blue Ninja. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 05-11-2008 3:49 AM

    F# error compiling from source (build ~ 3063)

    Recent builds (3063 and possibly one or two prior) won't compile for me, giving this error:

    "C:\Program Files\SharpDevelop\3.0\src\SharpDevelop.sln" (default target) (1) ->
    "C:\Program Files\SharpDevelop\3.0\src\AddIns\BackendBindings\FSharp\FSharpBinding\Project\FSharpBinding.fsproj" (defau
    lt target) (27) ->
    (CoreCompile target) ->
      C:\Program Files\SharpDevelop\3.0\src\AddIns\BackendBindings\FSharp\FSharpBinding\Project\Src\project.fs(199,36,199,3
    6): error error This construct is deprecated: In a future release of F# expressions of the form '-expr' and '+expr' in
    composite expressions will be treated as arguments. Consider using either 'expr-expr' or 'expr - expr' for infix subtra
    ction, but not 'expr -expr', and likewise for addition
      C:\Program Files\SharpDevelop\3.0\src\AddIns\BackendBindings\FSharp\FSharpBinding\Project\Src\project.fs(214,36,214,3
    6): error error This construct is deprecated: In a future release of F# expressions of the form '-expr' and '+expr' in
    composite expressions will be treated as arguments. Consider using either 'expr-expr' or 'expr - expr' for infix subtra
    ction, but not 'expr -expr', and likewise for addition
      C:\Program Files\SharpDevelop\3.0\src\AddIns\BackendBindings\FSharp\FSharpBinding\Project\Src\project.fs(222,19,222,1
    9): error error This construct is deprecated: Use 'typeof<_>' instead

    Is this possibly due at oa different version of F#? Since build 3063 is available on the build server, I presume it's not a source code problem. I'm using F# build 1.9.4.15.

  • 05-11-2008 2:09 PM In reply to

    Re: F# error compiling from source (build ~ 3063)

    1.9.4.15 was released this month so it won't be on the build server. Either downgrade to 1.9.3.14 or uninstall the F# compiler completely, you shouldn't need it to compile SharpDevelop from source.
  • 05-11-2008 3:31 PM In reply to

    Re: F# error compiling from source (build ~ 3063)

    Ok, I'll either downgrade, or just keep installing nightlies from the build server in the meantime.

    This looks like a valid message, not a bug - presumably this construct will be updated in code to be compatible with the newer releases at some point? I would like to play around with F# one of these afternoons when I actually have some free time :-)

Page 1 of 1 (3 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.