Comments (3)
Thanks for providing the diagnostic information. I understand what the warnings are complaining about.
In all cases mentioned, the uninitialized variable or undefined return value are impossible by design. The undefined case is always covered by an assert(false);
statement - although assertions can be bypassed, so it could be a no-op instead of stopping the program. I have extensively tested the qrcodegen library to confirm that the assert(false);
code path is never triggered.
I will have to give some thought about how to fix these compile-time warnings in the most reasonable way. Maybe I'll use exit(1);
, or give dummy default values, or use an infinite loop.
from qr-code-generator.
@nayuki
All warnings are gone! Thank you!
from qr-code-generator.
Fixed in 30a9474 . Please try it in your development environment and report back whether the warning messages are gone.
from qr-code-generator.
Related Issues (20)
- Hafizullah 8
- New maven release HOT 1
- C++: Default constructor for QrCode or no-throw versions of the factory functions HOT 5
- Custom shapes support HOT 1
- `
- How can I generate urls HOT 2
- How to display a small logo in the middle HOT 2
- Support Shape HOT 1
- Support Embeded Logo Image HOT 2
- MicroQR support? HOT 1
- Alternative to toSvgString HOT 1
- Publish the `rust-no-heap` crate on crates.io HOT 2
- Option to insert an image/logo inside a QR image? HOT 2
- 🇫🇷Emmaus COM whattsapp
- Split data into multiple QR-codes using structured append mode HOT 5
- I would like to create a simple android app using your QR-Code-generator ... is it possible ? HOT 1
- UE5 Integration Hints HOT 1
- Letters get wrongly encoded as Kanji HOT 2
- Deno TypeScript Port HOT 1
- Optimize library footprint HOT 2
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 qr-code-generator.