Mir

FTBFS: cc1plus: error: unrecognized command line option "-Wno-return-type-c-linkage" [-Werror]

Bug #1194385 reported by Daniel van Vugt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
Fix Released
Medium
Daniel van Vugt

Bug Description

lp:mir no longer builds on raring due to:

In file included from /home/dan/bzr/mir/trunk/src/server/lttng/message_processor_report.cpp:24:0:
/home/dan/bzr/mir/trunk/src/server/lttng/message_processor_report_tp.h:30:1: warning: missing initializer for member ‘tracepoint::padding’ [-Wmissing-field-initializers]
/home/dan/bzr/mir/trunk/src/server/lttng/message_processor_report_tp.h:41:1: warning: missing initializer for member ‘tracepoint::padding’ [-Wmissing-field-initializers]
cc1plus: error: unrecognized command line option "-Wno-return-type-c-linkage" [-Werror]
cc1plus: all warnings being treated as errors

I know people like to argue that we only support saucy, but that's not a valid argument if we need to support other Linux distros too. Some are bound to have the same compiler as raring. So it should be supported. Looks simple enough that we've got no excuse not to.

Related branches

description: updated
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Interestingly, the same error came and went on saucy today too. But now it's gone. I only saw it whenever I made gmock mistakes.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:mir at revision None, scheduled for release in mir, milestone 0.0.4

Changed in mir:
status: In Progress → Fix Committed
Changed in mir:
milestone: 0.0.4 → 0.0.5
Changed in mir:
status: Fix Committed → Fix Released
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.