Details

    • Type: Defect
    • Status: Done
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: guacamole-server
    • Labels:
      None
    • Sprint:
      DEV 2015-12-18

      Description

      The new WebP encoder uses the wrong enum value for its call to WebPConfigPreset, generating a warning and breaking the build on systems with a sufficiently-clever compiler:

      ...
      CC libguac_la-encode-webp.lo
      encode-webp.c:194:36: error: implicit conversion from enumeration type 'enum WebPImageHint' to different enumeration type 'WebPPreset' (aka 'enum WebPPreset') [-Werror,-Wenum-conversion]
          if (!WebPConfigPreset(&config, WEBP_HINT_DEFAULT, quality))
               ~~~~~~~~~~~~~~~~          ^~~~~~~~~~~~~~~~~
      1 error generated.
      *** Error code 1

      This has so far been reproduced on FreeBSD with Clang and libwebp installed.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mike.jumper Michael Jumper
              Reporter:
              mike.jumper Michael Jumper
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: