Skip to content

CI complains about -Wvla flag #6326

Closed

Description

@ben-schwen
          CI is now complaining about these flags in:
  • lin-dev-clang-cran
  • lin-dev-gcc-strict-cran
  • lin-rel-cran
Compilation used the following non-portable flag(s):
  ‘-Wvla’

Originally posted by @ben-schwen in #6274 (comment)

Activity

  1. MichaelChirico commented on Jul 29, 2024

    @MichaelChirico
    Member

    Could you link the exact failure? Is that R CMD check complaining?

  2. MichaelChirico commented on Jul 29, 2024

    @MichaelChirico
    Member

    I think we can suppress this in our CI with _R_CHECK_COMPILATION_FLAGS_KNOWN_="-Wvla":

    https://github.com/r-devel/r-svn/blob/83873fe7c1e3e23ef1ff4a986954bf1c8f01ce1d/src/library/tools/R/check.R#L3739C39-L3739C72

    Since we're not setting that in Makevars or anything, CRAN will be none the wiser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions