Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Putting the error message into a search engine brings up another pretty clear answer:
Quote:
Originally Posted by https://aur.archlinux.org/packages/alarm-clock-applet/
To get rid of the -Werror=format-y2k.
Just edit the PKGBUILD and put "--enable-compile-warnings=no" at the end of the ./configure line on build()
Quote:
Originally Posted by binkyd
But I don't quite know which lines to add; when I take a look at that file, I see a "{" at line 27, with the next one at line 47 - "}"
Or would I just want lines 43 and 46 ?
Been a long time since I did any programming and now vague on syntax rules.
As pan64 pointed out - the erroring line is 57 - so immediately before that line you put the first two pragmas and immediately after it you put the third one.
If it doesn't work, you can just revert the file and try again, or - if you don't want to modify the code - disable all warnings instead.
you have an error using strftime. In the example I posted there is an strftime call too, and added 2 lines before and 1 line after. That is the fastest solution I could imagine.
The other one could be to modify the build system, but that would be much more difficult.
Thanks - but I'm out of my depth, and will find something different to do the job..
What you're telling me might seem obvious, but I guess I'm thick.
You've got this far, don't give up, I'd never used make before and I wanted to install an older release of ffmpeg - it had many errors but using DDG (DuckDuckGo) and starting with the first error and solving it is the way to learn, it may be a bit confusing but once you've worked your way through it and taken notes you'll learn how Linux works. Good luck
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.