Comments (4)
This is as intended - lang_print()
takes a message ID as a parameter, whereas va_start()
expects a format string. The ID is resolved to a message string via the lang_getmsg()
call.
Apart from adding some comments saying "this will emit a warning, this is intended", or maybe some #pragma GCC
directives, I don't really see what can be changed here.
from vrms-rpm.
Suggest look again. I checked the reference manual for C and the only thing va_start
is documented to work with is the last named parameter. This is different to the local variable
it is given in your code.
from vrms-rpm.
Oh, truly. For whatever reason I was convinced that va_start()
expects a format string, like printf()
. Though thinking about it now, that wouldn't make much sense.
from vrms-rpm.
Fixed in f55e41b.
from vrms-rpm.
Related Issues (20)
- Update Dutch translation for version 2.0 HOT 1
- Update Portuguese translation for version 2.0 HOT 3
- Update Turkish translation for version 2.0 HOT 3
- Update title README.md HOT 1
- Rename file LICENSE HOT 2
- Update readme text HOT 1
- Too many issues with README.md HOT 3
- Add some black-box testing
- Respect the NO_COLOR environment variable
- vrms-rpm counts packages once for each version installed HOT 5
- Some packages seem to be considered unfree merely for being multi-licensed HOT 12
- Update translations for v2.3 release HOT 4
- SPDX grammar support HOT 1
- Numbers of installed packages reported by `vrms-rpm --list all` and `vrms-rpm --list none` as total sum, differ from each other HOT 2
- `vrms-rpm` lacks the ability to report full names of fake packages with GPG keys HOT 3
- Validate licensing exceptions in "spdx" classifier
- Improve WITH support in "loose" classifier HOT 1
- Add support for comma-separation to "loose" classifier
- Support lower-case SPDX operators HOT 1
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 vrms-rpm.