Please allow building without -Werror set

Bug #1687052 reported by BenjaminBerg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Firmware Test Suite
Won't Fix
Wishlist
Colin Ian King

Bug Description

Right now the build will break if newer compiler versions add warnings. I do agree that it makes sense for development, but it would be nice to be able to easily disable -Werror in release build and for building distribution packages.

Revision history for this message
Colin Ian King (colin-king) wrote :

Sorry, that's part of the way I ensure bad compilations get picked up on a wide range of compilers and architectures. Marking this as an opinion.

Changed in fwts:
importance: Undecided → Wishlist
assignee: nobody → Colin Ian King (colin-king)
status: New → Won't Fix
Revision history for this message
Colin Ian King (colin-king) wrote :

What error are you hitting when you get this -Werror breakage? Which flavour of gcc, which release of fwts.

Changed in fwts:
status: Won't Fix → Incomplete
Revision history for this message
BenjaminBerg (benjamin-sipsolutions) wrote :

I fully understand that. But this means that either you force downstream distributions to get FTBFS issues after a while because the compilers decided to change or you force them to patch the sources to remove the -Werror. Both seem odd to me.

Revision history for this message
BenjaminBerg (benjamin-sipsolutions) wrote :

See bug #1687056 for the issue that I ran into with GCC 7.0.

Changed in fwts:
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.