Skip to content

No compiler flags applied even though hdl_checker.config exists #96

@JDuchniewicz

Description

@JDuchniewicz

Having a very simple .hdl_checker.config with just:

{
    "vhdl": {
        "flags": {
            "global": ["--std=08"]
        }
    }
}

yields no application of 2008 VHDL standard when I run vim in the directory on a VHDL source file. The expected result is to have the VHDL 2008 syntax rules applied. When I run ghdl analyze --std=08 ALU.vhd I obtain correct output and no errors due to unknown(2008) syntax.

  • Output of hdl_checker -V: 0.7.4
  • Python version used: Python 3.9.7
  • OS: Arch Linux x86
    • ghdl --version:
GHDL 1.0.0 (tarball) [Dunoon edition]
 Compiled with GNAT Version: 11.1.0
 GCC back-end code generator
Written by Tristan Gingold.

Copyright (C) 2003 - 2021 Tristan Gingold.
GHDL is free software, covered by the GNU General Public License.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions