Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 260867 (werror) - [TRACKER] Packages using -Werror for build
Summary: [TRACKER] Packages using -Werror for build
Status: CONFIRMED
Alias: werror
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Quality Assurance Team
URL:
Whiteboard:
Keywords: Tracker
Depends on: 474790 485682 618428 618438 656106 665464 675344 688286 198257 208010 227861 238060 251740 257265 260817 260840 260847 260868 260869 260870 260871 260873 260874 260876 260878 260880 260881 260882 260884 260886 260888 260889 260890 260893 260894 260895 260896 260897 260899 260900 260901 260902 260903 260905 260907 260908 260910 260911 260915 260917 260919 260920 260921 260923 260925 260927 260931 260932 260934 260936 260937 260939 260941 260943 260945 260946 260947 260948 260953 261144 261147 265921 266463 271251 271533 272295 272301 277158 277765 287746 303077 310503 320759 320785 321275 326761 347879 362301 362303 362671 362675 362733 363009 363477 363723 363727 364285 365195 366097 367497 369639 369761 370015 378179 387841 407189 414323 415943 415949 415953 416069 418359 438424 440972 441986 442278 442828 447374 448160 451392 452530 453910 455426 456642 456654 460404 462898 465048 469026 470638 474686 475010 475350 475734 477674 482576 485774 489172 493940 499442 508178 515114 526384 527358 527360 528354 528768 528934 528936 528938 529026 529318 539814 545398 557486 558892 567428 568746 574884 580808 594898 606898 607158 618422 618426 618432 618434 621178 626752 626754 630406 630702 640076 640492 641382 654202 663928 664294 666696 667104 673698 674996 675836 686006 691260
Blocks:
  Show dependency tree
 
Reported: 2009-03-02 13:49 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2019-08-01 22:37 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-03-02 13:49:52 UTC
This tracker bug is going to be used to report all the packages that currently use -Werror during build, and thus are likely to fail when new GCC releases add more warnings. This also is the cause of many failures related to _FORTIFY_SOURCE=2 in GCC 4.3.3 ebuild.
Comment 1 SpanKY gentoo-dev 2009-03-02 16:58:53 UTC
i see no need to spam toolchain with this
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2009-03-03 11:36:14 UTC
IMO upstream should be allowed to add -Werror to CFLAGS if they want to. This shows upstream commitment to keep their source tree clean.

Could that break the compilation on newer gcc versions? Of course! 
Should we ignore the warnings instead of fixing the code? I think not!
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-03-03 11:49:29 UTC
Upstream should use -Werror _during development_, not in release. In release it'll be a waste of time for users.

If GCC adds a warning in version 4.4 "foo bar will be removed from version 4.5", you want NOT to ignore it but also not want to make it fail before. It's a _warning_ for a good reason.

Please read http://blog.flameeyes.eu/2009/02/25/future-proof-your-code-dont-use-werror where I already discussed the problem.
Comment 4 pash 2017-03-18 07:32:47 UTC
=games-puzzle/sgt-puzzles-20170228
Comment 5 Nikita Zlobin 2017-12-24 22:04:07 UTC
+ https://bugs.gentoo.org/642164+