mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-27 18:27:05 +08:00
Merge pull request #869 from PX4/warnings
warnings: don't spam with warning for missing field initializer
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2012 PX4 Development Team. All rights reserved.
|
# Copyright (C) 2012-2014 PX4 Development Team. All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
# modification, are permitted provided that the following conditions
|
# modification, are permitted provided that the following conditions
|
||||||
@@ -142,7 +142,8 @@ ARCHCWARNINGS = $(ARCHWARNINGS) \
|
|||||||
|
|
||||||
# C++-specific warnings
|
# C++-specific warnings
|
||||||
#
|
#
|
||||||
ARCHWARNINGSXX = $(ARCHWARNINGS)
|
ARCHWARNINGSXX = $(ARCHWARNINGS) \
|
||||||
|
-Wno-missing-field-initializers
|
||||||
|
|
||||||
# pull in *just* libm from the toolchain ... this is grody
|
# pull in *just* libm from the toolchain ... this is grody
|
||||||
LIBM := $(shell $(CC) $(ARCHCPUFLAGS) -print-file-name=libm.a)
|
LIBM := $(shell $(CC) $(ARCHCPUFLAGS) -print-file-name=libm.a)
|
||||||
|
|||||||
Reference in New Issue
Block a user