-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Fix (and silence) a bunch of build-time diagnostics ("warnings") #1278
Commits on Aug 21, 2022
-
Configuration menu - View commit details
-
Copy full SHA for c3cd5a5 - Browse repository at this point
Copy the full SHA c3cd5a5View commit details -
build: Silence format-truncation and stringop-truncation
We deliberately use truncating formats and string operations, this is not something the compiler should warn us about.
Configuration menu - View commit details
-
Copy full SHA for acbb926 - Browse repository at this point
Copy the full SHA acbb926View commit details -
Turn off deprecated header messages
These occur internally to boost::python headers.
Configuration menu - View commit details
-
Copy full SHA for 667e27d - Browse repository at this point
Copy the full SHA 667e27dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ba637ba - Browse repository at this point
Copy the full SHA ba637baView commit details -
Configuration menu - View commit details
-
Copy full SHA for b7320c3 - Browse repository at this point
Copy the full SHA b7320c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35a5f93 - Browse repository at this point
Copy the full SHA 35a5f93View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04690b3 - Browse repository at this point
Copy the full SHA 04690b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 27bd839 - Browse repository at this point
Copy the full SHA 27bd839View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9f1662 - Browse repository at this point
Copy the full SHA b9f1662View commit details -
Configuration menu - View commit details
-
Copy full SHA for 178e0ff - Browse repository at this point
Copy the full SHA 178e0ffView commit details -
Fix snprintf sizeof() to match argument exactly
4/5 based on a review comment by seb, 1 more caught by grep
Configuration menu - View commit details
-
Copy full SHA for 062939c - Browse repository at this point
Copy the full SHA 062939cView commit details -
.. so rename it. I don't know if anyone is using the rule, but if so they have to adjust their manual process This also fixes the build-time diagnostic ``` Makefile:865: warning: overriding recipe for target 'install-menu' Makefile:648: warning: ignoring old recipe for target 'install-menu' ```
Configuration menu - View commit details
-
Copy full SHA for 73ea930 - Browse repository at this point
Copy the full SHA 73ea930View commit details -
emcTaskStateRestore: return a useful(?) result
.. it's ignored in the caller, but this should be the return value. It quiets a diagnostic about res being assigned but not used.
Configuration menu - View commit details
-
Copy full SHA for 64d87d2 - Browse repository at this point
Copy the full SHA 64d87d2View commit details -
Don't build tpcomp, it's only useful out-of-tree
.. the manpage is still generated. This is done simply to get rid of the diagnostic message when it's built in-tree. I considered the alternative of providing a TOPDIR value during build, but as I would only be able to test it during a uspace build I decided not to do so. I'd be happy to see it done as a substitute, though, as otherwise the component is likely to bitrot.
3Configuration menu - View commit details
-
Copy full SHA for 07e1e99 - Browse repository at this point
Copy the full SHA 07e1e99View commit details -
Configuration menu - View commit details
-
Copy full SHA for 89e8237 - Browse repository at this point
Copy the full SHA 89e8237View commit details -
.. it quiets some stringop-truncation diagnostics
Configuration menu - View commit details
-
Copy full SHA for 5d66f94 - Browse repository at this point
Copy the full SHA 5d66f94View commit details -
Configuration menu - View commit details
-
Copy full SHA for 185e9ae - Browse repository at this point
Copy the full SHA 185e9aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a098a0 - Browse repository at this point
Copy the full SHA 6a098a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for e489bc2 - Browse repository at this point
Copy the full SHA e489bc2View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac62308 - Browse repository at this point
Copy the full SHA ac62308View commit details