XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    XO from sources compile warnings

    Scheduled Pinned Locked Moved Xen Orchestra
    2 Posts 2 Posters 314 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      HeMaN
      last edited by

      Just updated XO from the sources, after I also updated last week and had a few errors (saw a thread about this where the errors were fixed, so did not report).

      I am using the Jarli script to update.

      Previous version of XOCE before update (which had errors):

      Current version 5.83.0 / 5.89.0
      Current commit 1f1ae759e031a7747463416544230076e11d81bc 2021-11-27 10:10:19 +0100
      
      

      Curent version of XOCE after update:

      Updated version 5.84.1 / 5.90.0
      Updated commit 470a9b3e272414a84ad61f761723d6feb9de75df 2021-12-02 21:37:21 +0100
      
      

      During this update the errors I had before are gone, great job done there!
      However I do see some warnings, so took she time to report them here 😉

      
      Deprecation Warning: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
      
      Recommendation: math.div($spacer, 2)
      
      More info and automated migrator: https://sass-lang.com/d/slash-div
      
          â•·
      199 │ $headings-margin-bottom: ($spacer / 2) !default;
          │                           ^^^^^^^^^^^
          ╵
          ../../node_modules/bootstrap/scss/_variables.scss 199:27  @import
          ../../node_modules/bootstrap/scss/bootstrap.scss 10:9     @import
          src/index.scss 14:9                                       root stylesheet
      
      Deprecation Warning: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
      
      Recommendation: math.div(4, 3)
      
      More info and automated migrator: https://sass-lang.com/d/slash-div
      
          â•·
      236 │ $line-height-lg:         (4 / 3) !default;
          │                           ^^^^^
          ╵
          ../../node_modules/bootstrap/scss/_variables.scss 236:27  @import
          ../../node_modules/bootstrap/scss/bootstrap.scss 10:9     @import
          src/index.scss 14:9                                       root stylesheet
      
      Deprecation Warning: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
      
      Recommendation: math.div($spacer, 2)
      
      More info and automated migrator: https://sass-lang.com/d/slash-div
      
          â•·
      497 │ $navbar-padding-y:                  ($spacer / 2) !default;
          │                                      ^^^^^^^^^^^
          ╵
          ../../node_modules/bootstrap/scss/_variables.scss 497:38  @import
          ../../node_modules/bootstrap/scss/bootstrap.scss 10:9     @import
          src/index.scss 14:9                                       root stylesheet
      
      Deprecation Warning: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
      
      Recommendation: math.div($spacer, 2)
      
      More info and automated migrator: https://sass-lang.com/d/slash-div
      
          â•·
      107 │   padding: ($spacer / 2) $spacer;
          │             ^^^^^^^^^^^
          ╵
          ../../node_modules/bootstrap/scss/_type.scss 107:13    @import
          ../../node_modules/bootstrap/scss/bootstrap.scss 19:9  @import
          src/index.scss 14:9                                    root stylesheet
      
      Deprecation Warning: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
      
      Recommendation: math.div($spacer-y, 2)
      
      More info and automated migrator: https://sass-lang.com/d/slash-div
      
         â•·
      36 │   margin-bottom: ($spacer-y / 2);
         │                   ^^^^^^^^^^^^^
         ╵
          ../../node_modules/bootstrap/scss/_images.scss 36:19   @import
          ../../node_modules/bootstrap/scss/bootstrap.scss 20:9  @import
          src/index.scss 14:9                                    root stylesheet
      
      Warning: 65 repetitive deprecation warnings omitted.
      
      
      

      This warning is there for about 70 times

      DanpD 1 Reply Last reply Reply Quote 0
      • DanpD Offline
        Danp Pro Support Team @HeMaN
        last edited by

        @heman said in XO from sources compile warnings:

        Deprecation Warning: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.

        FWIW, I see the same warnings. I imagine this is a "known issue" as far as the developers are concerned.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post