Comments (4)
That seems attractive. I assume
--no-warnings
would quiet it today? (realizing that's a big hammer, so I don't think it's the answer).
Yup, it does
I think of us still having an outstanding design question about how, in Dyno, we'd want to squash warnings, dial errors down to warnings, warnings up to errors, etc. where one approach would be to do some sort of naming/numbering of warnings and to make the flags operate on those (what I think of as "icc"- or "cce"-style). But another would be to just continue investing in our current "warning flag per family of warnings" approach, which seems to be the way gcc has gone? Only mentioning it here because for a low-priority case like this, it might be more valuable to spend effort on wrestling with that design question and implementing it there (though even that design question isn't particularly high priority for me at the moment).
Yeah, I think keeping categorization in mind seems like a nice way of addressing it faster than it would be on its own (but agree that I wouldn't view it as high priority even then unless we realized there were quite a lot of warnings that fell into the same category)
from chapel.
That seems attractive. I assume --no-warnings
would quiet it today? (realizing that's a big hammer, so I don't think it's the answer).
I think of us still having an outstanding design question about how, in Dyno, we'd want to squash warnings, dial errors down to warnings, warnings up to errors, etc. where one approach would be to do some sort of naming/numbering of warnings and to make the flags operate on those (what I think of as "icc"- or "cce"-style). But another would be to just continue investing in our current "warning flag per family of warnings" approach, which seems to be the way gcc has gone? Only mentioning it here because for a low-priority case like this, it might be more valuable to spend effort on wrestling with that design question and implementing it there (though even that design question isn't particularly high priority for me at the moment).
from chapel.
@lydia-duncan : One other thought here: We could potentially squash this warning in cases that seem sufficiently non-library like / non-confused, like:
proc main() {
use M;
...
}
module M {
...
}
I could imagine an argument that generating the warning for a "main module" like this is overkill since it seems obvious the user is writing module-scope code that will start running the program.
from chapel.
Potentially, though I think trying to guess what the user intended has diminishing returns after a certain point.
from chapel.
Related Issues (20)
- [Bug]: Rexported symbols like `sqrt` cause issues when imported using `.{..}` HOT 4
- chpl__init_ModuleName(int64_t _ln, int32_t _fn) has mystery parameters HOT 1
- should identifier matches against the enclosing module name be considered if there are other matches? HOT 6
- Performance delta between Chapel and CUDA for `tanh` HOT 2
- `make test-cls` fails in quickstart config on M1 mac
- [Documentation]: Improve GPU Setup Documentation for CHPL_LOCALE_MODEL=gpu HOT 1
- Standalone Arkouda `ContrivedConstructor` caused compiler to throw unreasonable promotion/parameness error HOT 1
- [Feature Request]: Chapel OS packages with GPU support
- Add chpl-language-server documentation for vim and emacs HOT 6
- [Bug]: problems in LLVM or C codegen
- [Documentation]: Should we move the documentation on syntax highlighting into the online documentation? HOT 1
- [Feature Request]: Add support for DuckDB HOT 1
- Compiler LLVM fatal errors aren't very helpful without CHPL_DEVELOPER right now HOT 1
- [Feature Request]: support autocompletion for fish HOT 1
- Dyno: named declarations should report their indentation separately from their name locations
- Remove/Retire 'numa' locale model
- [Feature Request]: Lint rule for extra parentheses HOT 3
- [Feature Request]: Lint rule for line length HOT 1
- Compiling a `--library` with GPU support (or C++) should use C linkage in the generated header
- Moving tasks to sublocales doesn't work in the library mode
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chapel.