[Bug]: Error compiling Chapel-Py #25054
Labels
area: Python bindings
For things related to chapel-py, chpl-language-server, chplcheck, etc.
type: Bug
user issue
Summary of Problem
Description:
I get an error when compiling Chapel-Py and therefore the Chapel Language Server and ChplCheck
Steps to Reproduce
Source Code:
The offending function is on
./tools/chapel-py/src/core-types-gen.cpp
, lines 53 to 59.I guess it just needs a default?
Compile command:
It only stops compilation because this flag is enabled by default
-Werror=return-type
Execution command:
I'm just running
make chapel-py-venv
I'm confused about how I'm the only one with this error, should this flag not be enabled by default?
Workaround
Just add a default to the switch statement.
It compiles both in 2.0.1 and 2.1-pre but I have no idea if it's the right fix 🤷
Configuration Information
Happens on both 2.0.1 and the pre-release 2.1.0 (f1676da)
chpl --version
:$CHPL_HOME/util/printchplenv --anonymize
:gcc --version
orclang --version
:The text was updated successfully, but these errors were encountered: