Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cgo: silence false-positive clang warning #55

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Jan 23, 2023

  1. cgo: silence false-positive clang warning

    Every build with Clang spits out this annoying warning message:
    
    \# github.com/chai2010/webp
    In file included from z_libwebp_src_enc_picture_csp_enc.c:9:
    ../../../../go/pkg/mod/github.com/chai2010/webp@v1.1.1/internal/libwebp-1.0.2/src/enc/picture_csp_enc.c:1002:40: warning: result of '2 ^ ALPHA_OFFSET' is 1; did you mean '1 << ALPHA_OFFSET' (8)? [-Wxor-used-as-pow]
    
    This commits silences that warning by supplying the requisite CFLAG.
    
    Signed-off-by: Jack Mordaunt <jackmordaunt.dev@gmail.com>
    JackMordaunt committed Jan 23, 2023
    Configuration menu
    Copy the full SHA
    a51e867 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2023

  1. reader: do not auto-initialize decoder

    This makes it very hard to consume if a different decoder is desired.
    
    Signed-off-by: Jack Mordaunt <jackmordaunt.dev@gmail.com>
    JackMordaunt committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    8b92787 View commit details
    Browse the repository at this point in the history
  2. modernize

    Signed-off-by: Jack Mordaunt <jackmordaunt.dev@gmail.com>
    JackMordaunt committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    9ade359 View commit details
    Browse the repository at this point in the history