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

Build warnings on fresh clone #1901

Closed
rebcabin opened this issue Jun 13, 2023 · 1 comment · Fixed by #2145
Closed

Build warnings on fresh clone #1901

rebcabin opened this issue Jun 13, 2023 · 1 comment · Fixed by #2145

Comments

@rebcabin
Copy link
Contributor

[ 74%] Building CXX object src/libasr/CMakeFiles/asr.dir/codegen/llvm_utils.cpp.o
/Users/brian/CLionProjects/lpython/src/libasr/codegen/llvm_utils.cpp:2650:61: warning: unused parameter 'list_type' [-Wunused-parameter]
    void LLVMList::reverse(llvm::Value* list, ASR::ttype_t* list_type, llvm::Module& module) {
                                                            ^
/Users/brian/CLionProjects/lpython/src/libasr/codegen/llvm_utils.cpp:3169:42: warning: unused parameter 'module' [-Wunused-parameter]
                           llvm::Module& module) {
                                         ^
2 warnings generated.
[ 75%] Linking CXX static library libasr.a
[ 75%] Built target asr
[ 78%] Building CXX object src/lpython/CMakeFiles/lpython_lib.dir/semantics/python_ast_to_asr.cpp.o
[ 78%] Building CXX object src/lpython/CMakeFiles/lpython_lib.dir/parser/tokenizer.cpp.o
[ 80%] Building CXX object src/lpython/CMakeFiles/lpython_lib.dir/parser/parser.tab.cc.o
[ 80%] Building CXX object src/lpython/CMakeFiles/lpython_lib.dir/parser/parser.cpp.o
[ 82%] Building CXX object src/lpython/CMakeFiles/lpython_lib.dir/utils.cpp.o
[ 83%] Building CXX object src/lpython/CMakeFiles/lpython_lib.dir/python_serialization.cpp.o
[ 83%] Building CXX object src/lpython/CMakeFiles/lpython_lib.dir/python_evaluator.cpp.o
[ 85%] Building CXX object src/lpython/CMakeFiles/lpython_lib.dir/__/bin/tpl/whereami/whereami.cpp.o
[ 86%] Building CXX object src/lpython/CMakeFiles/lpython_lib.dir/pickle.cpp.o
parser.tab.cc:2929:9: warning: variable 'yynerrs' set but not used [-Wunused-but-set-variable]
    int yynerrs;
        ^
1 warning generated.
[ 87%] Linking CXX static library liblpython_lib.a
@Smit-create
Copy link
Collaborator

This will be probably fixed by #1888

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants