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

Warnings should be fixed in vqm2blif #2403

Open
vaughnbetz opened this issue Sep 28, 2023 · 4 comments
Open

Warnings should be fixed in vqm2blif #2403

vaughnbetz opened this issue Sep 28, 2023 · 4 comments
Assignees

Comments

@vaughnbetz
Copy link
Contributor

We should be warning clean, but vqm2blif isn't. See https://github.com/verilog-to-routing/vtr-verilog-to-routing/actions/runs/6333593038/job/17201935175 for a CI run that shows the warnings.

Expected Behaviour

No compiler warnings.

Current Behaviour

vqm2blif compiler warnings

02:02:20 | [ 13%] [BISON][VqmParser] Building parser with bison 3.8.2
02:02:20 | /root/vtr-verilog-to-routing/vtr-verilog-to-routing/libs/libvqm/vqm_parser.y:45.1-14: warning: deprecated directive: '%error-verbose', use '%define parse.error verbose' [-Wdeprecated]
02:02:20 | 45 | %error-verbose
02:02:20 | | ^~~~~~~~~~~~~~
02:02:20 | | %define parse.error verbose
02:02:20 | [ 13%] [FLEX][VqmLexer] Building scanner with flex 2.6.4
02:02:20 | [ 13%] Building CXX object libs/EXTERNAL/capnproto/c++/src/kj/CMakeFiles/kj-async.dir/async-win32.c++.o
02:02:20 | [ 13%] Building CXX object libs/EXTERNAL/capnproto/c++/src/kj/CMakeFiles/kj-async.dir/async-io-win32.c++.o
02:02:20 | [ 13%] Building C object abc/CMakeFiles/libabc.dir/src/base/abci/abcDress2.c.o
02:02:20 | [ 13%] Building C object abc/CMakeFiles/libabc.dir/src/base/abci/abcDress3.c.o
02:02:20 | /root/vtr-verilog-to-routing/vtr-verilog-to-routing/libs/libvqm/vqm_parser.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother]
02:02:20 | [ 13%] Building CXX object libs/EXTERNAL/libcatch2/src/CMakeFiles/Catch2.dir/catch2/internal/catch_random_number_generator.cpp.o
02:02:20 | [ 13%] Building CXX object libs/libvqm/CMakeFiles/libvqm.dir/vqm_common.c.o
02:02:20 | [ 13%] Building C object abc/CMakeFiles/libabc.dir/src/base/abci/abcDsd.c.o
02:02:20 | [ 13%] Building C object abc/CMakeFiles/libabc.dir/src/base/abci/abcEco.c.o
02:02:20 | [ 13%] Building C object abc/CMakeFiles/libabc.dir/src/base/abci/abcExact.c.o
02:02:21 | [ 13%] Building CXX object libs/libvqm/CMakeFiles/libvqm.dir/vqm_dll.cpp.o
02:02:21 | [ 13%] Building CXX object libs/libvqm/CMakeFiles/libvqm.dir/vqm_lexer.gen.c.o
02:02:21 | /root/vtr-verilog-to-routing/vtr-verilog-to-routing/libs/libvqm/vqm_dll.cpp: In function 'int vqm_get_error_message(char*, int)':
02:02:21 | /root/vtr-verilog-to-routing/vtr-verilog-to-routing/libs/libvqm/vqm_dll.cpp:120:40: warning: passing argument 1 to restrict-qualified parameter aliases with argument 2 [-Wrestrict]
02:02:21 | 120 | strcpy(message_buffer, message_buffer);
02:02:21 | | ~~~~~~~~~~~~~~^
02:02:21 | [ 13%] Building CXX object libs/libvqm/CMakeFiles/libvqm.dir/vqm_parser.gen.c.o

@vaughnbetz
Copy link
Contributor Author

@kimiatkh @Srivat97 : I am not sure who is the best person to fix these warnings (not sure if they are in the new hard block code or S10 code or something else) but it would be great if one of you could fix them.

@kimiatkh
Copy link
Contributor

kimiatkh commented Oct 5, 2023

@vaughnbetz I can take care of that. Should be easy to fix. I think some of the warnings may be due to a recent compiler version upgrade, if there has been one.

@AlexandreSinger
Copy link
Contributor

@kimiatkh I am currently working on removing all of the warnings in the VTR builds (see issue #2518 ). What is the progress on this issue?

@AlexandreSinger
Copy link
Contributor

@vaughnbetz I think this issue can be closed since it was resolved in Navid's most recent PR. PR #2549

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

No branches or pull requests

4 participants