Bug 772373 - Force warnings as errors in hal/. r=jlebar

This commit is contained in:
Mounir Lamouri 2012-07-12 21:34:18 +02:00
parent b2ba429232
commit d418cd569b
2 changed files with 2 additions and 1 deletions

View File

@ -24,6 +24,7 @@ LIBRARY_NAME = hal_s
FORCE_STATIC_LIB = 1
LIBXUL_LIBRARY = 1
EXPORT_LIBRARY = 1
FAIL_ON_WARNINGS = 1
EXPORTS_NAMESPACES = mozilla
EXPORTS_mozilla = \

View File

@ -272,7 +272,7 @@ float fakeData(NSTimeInterval time);
static int debugging = NO; // True if debugging (synthetic data)
static io_connect_t connection; // Connection for reading accel values
static int running = NO; // True if we successfully started
static int sensorNum = 0; // The current index into sensors[]
static unsigned int sensorNum = 0; // The current index into sensors[]
static const char *serviceName; // The name of the current service
static char *iRecord, *oRecord; // Pointers to read/write records for sensor
static int recordSize; // Size of read/write records