~phablet-team/aethercast/fix-for-microsoft-dongle

« back to all changes in this revision

Viewing changes to src/w11tng/interfaceselector.cpp

  • Committer: Simon Fels
  • Date: 2016-03-30 13:08:15 UTC
  • mfrom: (130.3.5 ac-fix-all-warnings)
  • Revision ID: simon.fels@canonical.com-20160330130815-jg8eh3i9hcezos5q
Fix all compiler warnings so that we build now fine with -Werror

By default we don't want any compiler warnings so any warning (except for the GLib stuff)
will now cause the build to fail.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#include <mcs/dbushelpers.h>
21
21
 
22
22
extern "C" {
 
23
// Ignore all warnings coming from the external headers as we don't
 
24
// control them and also don't want to get any warnings from them
 
25
// which will only pollute our build output.
 
26
#pragma GCC diagnostic push
 
27
#pragma GCC diagnostic warning "-w"
23
28
#include "wpasupplicantinterface.h"
 
29
#pragma GCC diagnostic pop
24
30
}
25
31
 
26
32
#include "interfaceselector.h"